Enable pydantic.v1 mypy plugin (#132907)

This commit is contained in:
Marc Mueller
2024-12-11 10:50:42 +01:00
committed by GitHub
parent 9c9e82a93e
commit 0e8961276f
8 changed files with 32 additions and 27 deletions

View File

@@ -33,7 +33,12 @@ HEADER: Final = """
GENERAL_SETTINGS: Final[dict[str, str]] = {
"python_version": ".".join(str(x) for x in REQUIRED_PYTHON_VER[:2]),
"platform": "linux",
"plugins": "pydantic.mypy",
"plugins": ", ".join( # noqa: FLY002
[
"pydantic.mypy",
"pydantic.v1.mypy",
]
),
"show_error_codes": "true",
"follow_imports": "normal",
# "enable_incomplete_feature": ", ".join( # noqa: FLY002