-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
66 lines (55 loc) · 1.35 KB
/
pyproject.toml
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
[tool.poetry]
name = "ha-yandex-station-intents"
package-mode = false
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.1"
ruff = "^0.6.9"
isort = "^5.13.2"
black = "^24.10.0"
[tool.poetry.group.test.dependencies]
pytest-homeassistant-custom-component = "0.13.171"
mypy-dev = "1.12.0a5"
dacite = "^1.8.1"
[tool.poetry.group.homeassistant.dependencies]
homeassistant = "2024.10.0"
colorlog = "^6.8.2"
numpy = "*"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
force_sort_within_sections = true
combine_as_imports = true
known_first_party = [
"custom_components.yandex_station_intents",
"tests",
]
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "T20", "Q"]
[tool.mypy]
python_version = 3.12
follow_imports_for_stubs = true
local_partial_types = true
strict_equality = true
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
[[tool.mypy.overrides]]
module = "custom_components.yandex_station.*"
ignore_errors = true