forked from alandtse/tesla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (52 loc) · 1.42 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
[tool.poetry]
name = "tesla"
version = "1.3.2"
description = "A fork of the Home Assistant tesla integration using a oauth proxy to login."
authors = ["Alan D. Tse <[email protected]>"]
license = "Apache-2.0"
[tool.poetry.dependencies]
python = "^3.9"
teslajsonpy = "^1.2.1"
[tool.poetry.dev-dependencies]
homeassistant = "^2021.3.4"
pytest-homeassistant-custom-component = "~=0.3.1"
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_all"], version = "^1.3.1"}
aiohttp_cors = "^0.7.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
version_variable='pyproject.toml:version,custom_components/tesla_custom/const.py:VERSION'
version_pattern='custom_components/tesla_custom/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
)
'''