Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Set Ivar Stefansson and Eirik Keilegavlen as global owners
* @keileg @IvarStefansson

# Make vlipovac code owner of the docs folder
docs/* @vlipovac
8 changes: 1 addition & 7 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@
mypy_path = src/porepy


# EK: It is not at all clear to me what to do with various libraries such as numpy etc.
# EK: It is not at all clear to me what to do with various libraries such as scipy etc.
# For the moment, ignore some of them (seems to be done as below), and hope my understanding
# improves in the future.
[mypy-numpy]
ignore_missing_imports = True
[mypy-numpy.matlib]
ignore_missing_imports = True
[mypy-numpy.linalg]
ignore_missing_imports = True

[mypy-scipy]
ignore_missing_imports = True
Expand Down
5 changes: 4 additions & 1 deletion src/porepy/fracs/fracture_importer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import csv
from typing import Optional

import gmsh
import numpy as np
Expand Down Expand Up @@ -403,7 +404,9 @@ def dfm_3d_from_fab(
return mdg


def network_3d_from_fab(f_name: str, return_all: bool = False, tol: float = None):
def network_3d_from_fab(
f_name: str, return_all: bool = False, tol: Optional[float] = None
):
"""Read fractures from a .fab file, as specified by FracMan.

The filter is based on the .fab-files available at the time of writing, and
Expand Down
Loading