-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.32 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
[tool.poetry]
name = "eau_agur"
version = "0.1.0"
description = "EAU par Agur integration for Home Assistant"
authors = ["Pierre-Emmanuel Mercier <acesyde@gmail.com>"]
license = "MIT"
keywords = ["homeassistant", "hassio", "eau", "agur", "water"]
readme = "README.md"
repository = "https://github.com/acesyde/hassio_agur_integration"
[tool.poetry.dependencies]
python = "~3.11"
colorlog = "^6.7"
homeassistant = "^2024.3"
requests = "^2.31"
aiohttp = "^3.8"
yarl = "^1.9"
async-timeout = "^4.0"
[tool.poetry.group.dev.dependencies]
asynctest = "^0.13"
pytest = "^7.4"
pytest-cov = "^4.1"
pytest-socket = "^0.6"
ruff = "^0.4"
pre-commit = "^3.5"
aresponses = "^2.1"
vulture = "^2.9"
[virtualenvs]
create = true
in-project = true
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py311"
exclude = [
".venv",
".codeclimate.yml",
".codecov.yml",
".coveragerc",
".editorconfig",
".gitattributes",
".gitignore",
".pre-commit-config.yaml",
"venv"
]
[tool.pytest.ini_options]
addopts = "-rxf -x -v -l --cov=./ --cov-report=xml"
pythonpath = ["custom_components/eau_agur"]
testpaths = [
"tests"
]
[tool.ruff.lint]
select = ["F", "D"]
ignore = ["D100", "D104", "D105", "D202"]
fixable = ["ALL"]
unfixable = []
[tool.vulture]
min_confidence = 80
paths = ["custom_components", "tests"]
verbose = true