generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
62 lines (56 loc) · 1.57 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
[tool.poetry]
name = "pr_custom_component"
version = "0.2.1"
description = "A home assistant integration to install a HA pull request as a custom component."
authors = ["Alan D. Tse <[email protected]>"]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.10"
aiofiles = ">=0.6.0"
yarl = ">=1.6.3"
voluptuous = ">=0.12.1"
aiohttp = ">=3.7.4"
async-timeout = ">=3.0.1"
[tool.poetry.dev-dependencies]
homeassistant = ">=2021.3.4"
pytest-homeassistant-custom-component = ">=0.1.0"
bandit = ">=1.7.0"
black = {version = ">=20.8b1", allow-prereleases = true}
mypy = ">=0.812"
pre-commit = ">=2.11.1"
pydocstyle = ">=6.0.0"
prospector = {extras = ["with_vulture"], version = ">=1.3.1"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
version_variable='pyproject.toml:version,custom_components/pr_custom_component/const.py:VERSION'
version_pattern='custom_components/pr_custom_component/manifest.json:"version": "{version}"'
upload_to_pypi=false
upload_to_release=false
changelog_sections="feature,fix,breaking,documentation,performance,refactor"
build_command = "echo"
branch = "main"
commit_subject="[skip ci] {version}"
[tool.black]
line-length = 88
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| deps
# the root of the project
)
| custom_components\/(?!pr_custom_component).*
'''