Enable the "mutable-override" error code
This commit is contained in:
parent
a4c1574135
commit
dafc695693
1 changed files with 2 additions and 0 deletions
|
|
@ -474,6 +474,8 @@ enable_error_code = [
|
||||||
"deprecated",
|
"deprecated",
|
||||||
# Require an error code in all "# type: ignore" comments
|
# Require an error code in all "# type: ignore" comments
|
||||||
"ignore-without-code",
|
"ignore-without-code",
|
||||||
|
# Report overrides of mutable attributes with incompatible types
|
||||||
|
"mutable-override",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Check further edge cases that are rarely an issue in practice
|
# Check further edge cases that are rarely an issue in practice
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue