Set platform for mypy (#115638)
parent
3963b3994b
commit
881e201a15
1
mypy.ini
1
mypy.ini
|
@ -4,6 +4,7 @@
|
|||
|
||||
[mypy]
|
||||
python_version = 3.12
|
||||
platform = linux
|
||||
plugins = pydantic.mypy
|
||||
show_error_codes = true
|
||||
follow_imports = normal
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue