Skip to content

Commit 2a57752

Browse files
committed
Introduce stricter mypy options
This is a first step according to the documentation https://mypy.readthedocs.io/en/stable/existing_code.html#getting-to-strict
1 parent 0947a21 commit 2a57752

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mypy.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[mypy]
22

3+
warn_unused_configs = True
4+
warn_redundant_casts = True
5+
warn_unused_ignores = True
6+
37
[mypy-test.*]
48
disallow_untyped_defs = True
59
disallow_untyped_calls = True

0 commit comments

Comments
 (0)