-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathprek.toml
More file actions
74 lines (60 loc) · 1.37 KB
/
prek.toml
File metadata and controls
74 lines (60 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[[repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"
rev = "v6.0.0"
[[repos.hooks]]
id = "trailing-whitespace"
exclude = ".*\\.md$"
[[repos.hooks]]
id = "end-of-file-fixer"
exclude = ".*\\.md$"
[[repos.hooks]]
id = "check-yaml"
[[repos.hooks]]
id = "check-toml"
[[repos.hooks]]
id = "check-added-large-files"
[[repos]]
repo = "https://github.com/rhysd/actionlint"
rev = "v1.7.12"
[[repos.hooks]]
id = "actionlint"
additional_dependencies = ["github.com/wasilibs/go-shellcheck/cmd/shellcheck@v0.11.1"]
[[repos]]
repo = "https://github.com/codespell-project/codespell"
rev = "v2.4.2"
[[repos.hooks]]
id = "codespell"
args = ["--ignore-words-list=hass"]
additional_dependencies = ["tomli"]
[[repos]]
repo = "https://github.com/pre-commit/mirrors-mypy"
rev = "v1.20.0"
[[repos.hooks]]
id = "mypy"
language_version = "python3.14"
args = ["--config-file=pyproject.toml"]
additional_dependencies = [
"aiohttp",
"homeassistant-stubs",
"pytest-asyncio",
"pytest-cov",
"pytest-homeassistant-custom-component",
"pytest",
"types-cachetools",
"types-cffi",
"types-greenlet",
"types-PyMySQL",
"types-pyRFC3339",
"types-python-dateutil",
"types-PyYAML",
"types-requests",
"types-setuptools",
]
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.15.8"
[[repos.hooks]]
id = "ruff-check"
args = ["--fix"]
[[repos.hooks]]
id = "ruff-format"