Skip to content

Commit 4d84218

Browse files
authored
Merge pull request #232 from paddyroddy/patch-1
Enable `strict` and subtract options
2 parents 39a2c7a + 1ae17a5 commit 4d84218

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

pyproject.toml

+1-12
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,8 @@ convention = "numpy"
4747
[tool.mypy]
4848
python_version = "3.9"
4949
# Block below are checks that form part of mypy 'strict' mode
50-
warn_unused_configs = true
51-
warn_redundant_casts = true
52-
warn_unused_ignores = true
53-
strict_equality = true
54-
strict_concatenate = true
55-
check_untyped_defs = true
50+
strict = true
5651
disallow_subclassing_any = false # TODO: fix
57-
disallow_untyped_decorators = true
58-
disallow_any_generics = true
59-
disallow_untyped_calls = true
60-
disallow_incomplete_defs = true
61-
disallow_untyped_defs = true
62-
no_implicit_reexport = true
6352
warn_return_any = false # TODO: fix
6453
ignore_missing_imports = true
6554

0 commit comments

Comments
 (0)