Skip to content

Commit

Permalink
Use strict = True for mypy_bootstrap.ini (#18076)
Browse files Browse the repository at this point in the history
We almost had all strict flags set anyway, so many will just work.
If not, it would be easier to turn something off.
  • Loading branch information
sobolevn authored Oct 30, 2024
1 parent 5a296f0 commit b59878e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions mypy_bootstrap.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
[mypy]
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_subclassing_any = True
warn_no_return = True
strict_optional = True
no_implicit_optional = True
disallow_any_generics = True
disallow_any_unimported = True
warn_redundant_casts = True
warn_unused_configs = True
strict = True
warn_unused_ignores = False
show_traceback = True
always_true = MYPYC

Expand Down

0 comments on commit b59878e

Please sign in to comment.