Skip to content

Commit 8bb4b70

Browse files
author
rs
committed
Enable full strict mode
1 parent 123ab25 commit 8bb4b70

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

nipio/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _is_debug() -> bool:
2828

2929
def _get_env_splitted(
3030
key: str,
31-
default: List[Tuple[str, str]] = None,
31+
default: Union[List[Tuple[str, str]], None] = None,
3232
linesep: str = " ",
3333
pairsep: str = "=",
3434
) -> Union[Generator[List[str], Any, None], Any]:

setup.cfg

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,7 @@ extend-ignore =
77

88
[mypy]
99

10-
#strict = True
11-
warn_unused_configs = True
12-
disallow_any_generics = True
13-
disallow_subclassing_any = True
14-
disallow_untyped_calls = True
15-
disallow_untyped_defs = True
16-
disallow_incomplete_defs = False
17-
check_untyped_defs = False
18-
disallow_untyped_decorators = False
19-
no_implicit_optional = False
20-
warn_redundant_casts = False
21-
warn_unused_ignores = False
22-
warn_return_any = False
23-
no_implicit_reexport = False
24-
strict_equality = False
25-
strict_concatenate = False
10+
strict = True
2611

2712
[mypy-setuptools]
2813
ignore_missing_imports = True

0 commit comments

Comments
 (0)