Skip to content

Commit b70e66d

Browse files
committed
chore: Add stricter mypy config
1 parent e445dd9 commit b70e66d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

setup.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,21 @@ exclude =
4747

4848
max-complexity = 15
4949
max-line-length = 120
50+
51+
[mypy]
52+
show_error_codes = True
53+
warn_unused_ignores = True
54+
strict_optional = True
55+
incremental = True
56+
ignore_missing_imports = True
57+
warn_redundant_casts = True
58+
warn_unused_configs = True
59+
disallow_untyped_defs = True
60+
disallow_untyped_calls = True
61+
local_partial_types = True
62+
show_traceback = True
63+
exclude =
64+
.venv/
65+
66+
[mypy-tests.*]
67+
ignore_errors = True

0 commit comments

Comments
 (0)