forked from alandtse/tesla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (60 loc) · 1.65 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
[tool.poetry]
name = "tesla"
version = "3.20.5"
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.12,<3.13"
teslajsonpy = "3.10.3"
async-timeout = ">=4.0.0"
[tool.poetry.group.dev.dependencies]
homeassistant = ">=2024.3.0"
pytest-homeassistant-custom-component = ">=0.13.107"
bandit = ">=1.7.0"
black = { version = ">=21.12b0", 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"
pytest-asyncio = ">=0.20.3"
pytest-httpx = ">=0.24.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 = ['py312']
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
)
'''
[tool.pytest.ini_options]
minversion = "7.2"
addopts = "-ra -q"
testpaths = ["tests"]
asyncio_mode = "auto"