1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-04-19 07:58:09 +01:00

Add mypy to ci and precommit (#5969)

* Add mypy to ci and precommit

* Run precommit mypy in venv

* Fix issues raised in latest version of mypy
This commit is contained in:
Mike Degatano
2025-06-24 05:48:03 -04:00
committed by GitHub
parent 3f921e50b3
commit 3ee7c082ec
24 changed files with 211 additions and 72 deletions

16
.github/workflows/matchers/mypy.json vendored Normal file
View File

@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "mypy",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s(error|warning):\\s(.+)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
}
]
}