Add mypy plugin: flag ==/!= between same-enum operands (#171551)

This commit is contained in:
Ariel Ebersberger
2026-06-30 16:59:31 +02:00
committed by GitHub
parent 1a330ca23e
commit 939dd7abce
14 changed files with 644 additions and 13 deletions
+1
View File
@@ -34,6 +34,7 @@ GENERAL_SETTINGS: Final[dict[str, str]] = {
"plugins": ", ".join( # noqa: FLY002
[
"pydantic.mypy",
"mypy_plugins/enum_identity_compare.py",
]
),
"show_error_codes": "true",