Set platform for mypy (#115638)

This commit is contained in:
Marc Mueller 2024-04-15 14:12:26 +02:00 committed by GitHub
parent 3963b3994b
commit 881e201a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
[mypy]
python_version = 3.12
platform = linux
plugins = pydantic.mypy
show_error_codes = true
follow_imports = normal

View File

@ -32,6 +32,7 @@ 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",
"show_error_codes": "true",
"follow_imports": "normal",