mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Set platform for mypy (#115638)
This commit is contained in:
parent
3963b3994b
commit
881e201a15
1
mypy.ini
1
mypy.ini
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
python_version = 3.12
|
python_version = 3.12
|
||||||
|
platform = linux
|
||||||
plugins = pydantic.mypy
|
plugins = pydantic.mypy
|
||||||
show_error_codes = true
|
show_error_codes = true
|
||||||
follow_imports = normal
|
follow_imports = normal
|
||||||
|
@ -32,6 +32,7 @@ HEADER: Final = """
|
|||||||
|
|
||||||
GENERAL_SETTINGS: Final[dict[str, str]] = {
|
GENERAL_SETTINGS: Final[dict[str, str]] = {
|
||||||
"python_version": ".".join(str(x) for x in REQUIRED_PYTHON_VER[:2]),
|
"python_version": ".".join(str(x) for x in REQUIRED_PYTHON_VER[:2]),
|
||||||
|
"platform": "linux",
|
||||||
"plugins": "pydantic.mypy",
|
"plugins": "pydantic.mypy",
|
||||||
"show_error_codes": "true",
|
"show_error_codes": "true",
|
||||||
"follow_imports": "normal",
|
"follow_imports": "normal",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user