Enable additional mypy error codes (#3257)

This commit is contained in:
correctmost 2025-03-13 17:16:27 -04:00 committed by GitHub
parent 933f2c8cd4
commit b6983a2d5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,15 @@ exclude = "^build/"
disallow_any_explicit = false
disallow_any_expr = false
disallow_any_unimported = true
enable_error_code = [
"explicit-override",
"mutable-override",
"redundant-expr",
"redundant-self",
"truthy-iterable",
"unimported-reveal",
"unused-awaitable",
]
strict = true
strict_bytes = true
warn_unreachable = true