Skip to content

Commit f0b791a

Browse files
authored
Merge pull request #214 from pre-commit/all-repos_autofix_mypy-settings
stricter mypy settings
2 parents a69121e + 4bae2f6 commit f0b791a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ disallow_any_generics = true
4949
disallow_incomplete_defs = true
5050
disallow_untyped_defs = true
5151
no_implicit_optional = true
52+
warn_redundant_casts = true
53+
warn_unused_ignores = true
5254

5355
[mypy-testing.*]
5456
disallow_untyped_defs = false

0 commit comments

Comments
 (0)