Enable the "possibly-undefined" error code

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

View file

@ -476,6 +476,8 @@ enable_error_code = [
"ignore-without-code",
# Report overrides of mutable attributes with incompatible types
"mutable-override",
# Report variables that may be used before they are assigned
"possibly-undefined",
]
# Check further edge cases that are rarely an issue in practice