Skip to content

Commit b6983a2

Browse files
authored
Enable additional mypy error codes (#3257)
1 parent 933f2c8 commit b6983a2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ exclude = "^build/"
6969
disallow_any_explicit = false
7070
disallow_any_expr = false
7171
disallow_any_unimported = true
72+
enable_error_code = [
73+
"explicit-override",
74+
"mutable-override",
75+
"redundant-expr",
76+
"redundant-self",
77+
"truthy-iterable",
78+
"unimported-reveal",
79+
"unused-awaitable",
80+
]
7281
strict = true
7382
strict_bytes = true
7483
warn_unreachable = true

0 commit comments

Comments
 (0)