Skip to content

Commit b59878e

Browse files
authored
Use strict = True for mypy_bootstrap.ini (#18076)
We almost had all strict flags set anyway, so many will just work. If not, it would be easier to turn something off.
1 parent 5a296f0 commit b59878e

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

mypy_bootstrap.ini

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
[mypy]
2-
disallow_untyped_calls = True
3-
disallow_untyped_defs = True
4-
disallow_incomplete_defs = True
5-
check_untyped_defs = True
6-
disallow_subclassing_any = True
7-
warn_no_return = True
8-
strict_optional = True
9-
no_implicit_optional = True
10-
disallow_any_generics = True
11-
disallow_any_unimported = True
12-
warn_redundant_casts = True
13-
warn_unused_configs = True
2+
strict = True
3+
warn_unused_ignores = False
144
show_traceback = True
155
always_true = MYPYC
166

0 commit comments

Comments
 (0)