Enable additional mypy error codes (#3257)
This commit is contained in:
parent
933f2c8cd4
commit
b6983a2d5a
|
|
@ -69,6 +69,15 @@ exclude = "^build/"
|
||||||
disallow_any_explicit = false
|
disallow_any_explicit = false
|
||||||
disallow_any_expr = false
|
disallow_any_expr = false
|
||||||
disallow_any_unimported = true
|
disallow_any_unimported = true
|
||||||
|
enable_error_code = [
|
||||||
|
"explicit-override",
|
||||||
|
"mutable-override",
|
||||||
|
"redundant-expr",
|
||||||
|
"redundant-self",
|
||||||
|
"truthy-iterable",
|
||||||
|
"unimported-reveal",
|
||||||
|
"unused-awaitable",
|
||||||
|
]
|
||||||
strict = true
|
strict = true
|
||||||
strict_bytes = true
|
strict_bytes = true
|
||||||
warn_unreachable = true
|
warn_unreachable = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue