Enable the "mutable-override" error code

This commit is contained in:
Alexander Hess 2026-12-01 13:11:31 +01:00
commit dafc695693
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -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