Make mypy as strict as practical #13

Merged
alexander merged 32 commits from stricter-mypy into develop 2026-12-01 14:26:52 +01:00
Showing only changes of commit dafc695693 - Show all commits

Enable the "mutable-override" error code

Alexander Hess 2026-12-01 13:11:31 +01:00
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