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