mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Set platform for mypy (#115638)
This commit is contained in:
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",
|
||||
|
Reference in New Issue
Block a user