Skip to content

Commit

Permalink
Set platform for mypy (home-assistant#115638)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p authored Apr 15, 2024
1 parent 3963b39 commit 881e201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[mypy]
python_version = 3.12
platform = linux
plugins = pydantic.mypy
show_error_codes = true
follow_imports = normal
Expand Down
1 change: 1 addition & 0 deletions script/hassfest/mypy_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

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",
Expand Down

0 comments on commit 881e201

Please sign in to comment.