-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (83 loc) · 2.28 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[tool.poetry]
authors = ["Jon Connell <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
description = "Kingspan Connect Sensor integration for Home Assistant"
documentation = "https://github.com/masaccio/ha-kingspan-connect-sensor/blob/main/README.md"
license = "MIT"
name = "ha-kingspan-connect-sensor"
packages = [{include = "custom_components/kingspan_watchman_sensit"}]
readme = "README.md"
repository = "https://github.com/masaccio/ha-kingspan-connect-sensor"
version = "1.6.7"
[tool.poetry.dependencies]
async-timeout = ">=4.0.2"
homeassistant = ">=2024.11"
kingspan-connect-sensor = ">=3.0.4"
python = ">=3.12,<3.14"
voluptuous = ">=0.13.1"
async-property = ">=0.2.1"
asyncio = ">=3.4.3"
[tool.poetry.group.dev.dependencies]
async-property = ">=0.2.1"
aiohttp = {version=">=3.8.2", allow-prereleases = true}
black = {version = ">=22.12.0", allow-prereleases = true}
datetime = ">=4.7"
pylama = ">=8.4.1"
pytest-homeassistant-custom-component = ">=0.13.175"
pytest-mock = ">=3.9.0"
toml = ">=0.10.2"
pygithub = ">=1.58.0"
pandas = ">=2.0.2"
ruff = ">=0.1.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.coverage.run]
branch = true
[tool.coverage.html]
directory = "coverage_html_report"
[tool.pytest.ini_options]
addopts = "-W ignore::DeprecationWarning --cov-report=html --cov-report=term-missing:skip-covered --cov-context=test --cov=custom_components/kingspan_watchman_sensit --disable-socket --allow-unix-socket"
minversion = 6.0
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.isort]
profile = "black"
[tool.ruff]
exclude = [
# Machine-generated files
".tox/*"
]
fix = true
ignore = [
"PLR2004", # Allow constant values
]
line-length = 100
select = [
# Pyflakes including bugbears
"F",
"B", # Pycodestyle
"E",
"W", # isort
"I", # PEP naming
"N", # pyupgrade
"UP", # Pylama
"PL",
]
src = ["src", "tests"]
target-version = "py38"
unfixable = [
"ERA", # do not autoremove commented out code
]
[tool.ruff.per-file-ignores]
# "tests/**" = ["PLR2004", "S101", "D103", "ANN201", "ANN001"]
"tests/**" = ["S101"]
[tool.ruff.pylint]
max-statements = 100
max-branches = 20
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"