Skip to content

Commit cb1f464

Browse files
committed
. e turn on (parts of) mypy strict mode
1 parent bd44ba1 commit cb1f464

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

mypy.ini

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
# Global options:
22

33
[mypy]
4-
warn_return_any = True
5-
warn_unused_configs = True
4+
# Turn on strict mode but then turn off the parts that don't currently pass.
5+
# TODO: remove the strict mode overrides amd make them pass
6+
strict = True
7+
disallow_incomplete_defs = False
8+
disallow_untyped_calls = False
9+
disallow_untyped_defs = False
10+
disallow_any_generics = False
11+
check_untyped_defs = False
12+
no_implicit_reexport = False
13+
disallow_subclassing_any = False
14+
# End strict mode overrides
15+
616
enable_error_code = explicit-override
717
explicit_package_bases = True
818
exclude = (?x)(

0 commit comments

Comments
 (0)