Merge pull request #1949 from pre-commit/all-repos_autofix_mypy-settings

stricter mypy settings
This commit is contained in:
Anthony Sottile 2021-06-21 19:52:48 -07:00 committed by GitHub
commit 2d4de2ef35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,8 @@ disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[mypy-testing.*]
disallow_untyped_defs = false