-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (94 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
109 lines (94 loc) · 2.56 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "tomtom-travel-time"
version = "0.0.1"
description = "A custom Home Assistant component that integrates TomTom travel time data"
authors = [{ name = "Sander Gols", email = "developer@golles.nl" }]
requires-python = ">=3.14.2,<3.15"
readme = "README.md"
license = "MIT"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3",
]
dependencies = [
"homeassistant>=2025.8.0",
"tomtom-apis==0.1.0",
]
[project.urls]
Documentation = "https://github.com/golles/ha-tomtom-travel-time"
Homepage = "https://github.com/golles/ha-tomtom-travel-time"
Repository = "https://github.com/golles/ha-tomtom-travel-time"
Issues = "https://github.com/golles/ha-tomtom-travel-time/issues"
[dependency-groups]
dev = [
"mypy==1.20.2",
"pre-commit==4.6.0",
"pylint==4.0.5",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-homeassistant-custom-component",
"ruff==0.15.12",
"shellcheck-py==0.11.0.1",
"yamllint==1.38.0",
]
runhass = [
"hassil",
"home_assistant_intents",
"mutagen",
"pymicro_vad",
"pyspeex_noise",
"PyTurboJPEG",
]
[build-system]
requires = ["hatchling==1.29.0"]
build-backend = "hatchling.build"
[tool.coverage.run]
source = ["custom_components/tomtom_travel_time"]
[tool.hatch.build.targets.wheel]
packages = ["custom_components/tomtom_travel_time"]
[tool.mypy]
python_version = "3.14"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "aresponses.*"
ignore_missing_imports = true
[tool.pylint]
max-line-length=150
[tool.pylint."MESSAGES CONTROL"]
disable = [
"abstract-method",
"duplicate-code",
"unexpected-keyword-arg",
"wrong-import-order",
]
[tool.pytest.ini_options]
addopts = "--cov --cov-report=term --cov-report=xml"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"
log_cli = true
log_cli_level = "DEBUG"
[tool.ruff]
line-length = 150
target-version = "py313"
src = ["custom_components/tomtom_travel_time"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"COM812", # Cause conflicts when used with the formatter.
"TC", # Ignore type-checking blocks.
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
"S101", # Allow assertions in tests.
"PLR2004", # Allow magic numbers in tests.
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-first-party = ["custom_components.tomtom_travel_time", "tomtom_apis"]