generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
80 lines (71 loc) · 1.92 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "hass-here-weather"
version = "4.0.7"
description = "Homeassistant Custom Component for HERE Destination Weather API"
license = "MIT"
authors = ["Kevin Stillhammer <[email protected]>"]
readme = "README.md"
repository = "http://github.com/eifinger/hass-here-weather"
keywords = [
"aiohttp",
"asyncio",
"here"
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License"
]
[tool.poetry.dependencies]
python = "^3.10"
aiohere = "^2.2.0"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
blacken-docs = "^1.14.0"
codespell = "^2.2.4"
mypy = "^1.3.0"
pre-commit = "^3.3.3"
pre-commit-hooks = "^4.4.0"
vulture = "^2.7"
yamllint = "^1.32.0"
ruff = "^0.0.275"
pytest-homeassistant-custom-component = "^0.13.39"
[tool.pytest.ini_options]
addopts = "--cov --cov-report term-missing --cov=custom_components --asyncio-mode=auto tests"
[tool.coverage.report]
show_missing = true
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.ruff]
ignore = ['E501']
line-length = 88
select = [
'B',
'B9',
'C',
'E',
'F',
'W',
]
fix = true
[tool.ruff.mccabe]
max-complexity = 12
[tool.vulture]
min_confidence = 80
paths = ["custom_components", "tests"]
[tool.semantic_release]
version_source = "tag"
commit_version_number = true
version_toml = "pyproject.toml:tool.poetry.version"
version_pattern = "custom_components/here_weather/manifest.json:\"version\": \"{version}\""
version_variable = "custom_components/here_weather/const.py:VERSION"
commit_subject = "chore(release): {version}"
build_command = false
upload_to_repository = false
upload_to_release = false
branch = "main"