-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
74 lines (66 loc) · 1.46 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
[tool.poetry]
name = "brewblox-ctl"
version = "1.0.0"
description = "Brewblox management tool"
authors = ["BrewPi <development@brewpi.com>"]
license = "GPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8,<4"
requests = "^2.32.3"
click = "^8.1.7"
python-dotenv = { extras = ["cli"], version = "^0.21.1" }
configobj = "^5.0.6"
zeroconf = "^0.47.3"
pyusb = "^1.2.1"
pyserial = "^3.5"
psutil = "^5.9.4"
"ruamel.yaml" = "^0.17.21"
packaging = "^23.0"
passlib = "^1.7.4"
pydantic = "^2.6.4"
jinja2 = "^3.1.3"
[tool.poetry.group.dev.dependencies]
pytest-cov = "*"
flake8 = ">=5"
autopep8 = "*"
pytest-mock = "*"
flake8-quotes = "*"
httpretty = "1.0.5"
pyyaml = "^6.0"
flake8-pyproject = "^1.2.3"
[build-system]
requires = ["poetry-core~=1.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = """
--cov=brewblox_ctl
--cov-branch
--cov-report=term-missing:skip-covered
--cov-fail-under=100
--no-cov-on-fail
--durations=3
"""
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"except asyncio.CancelledError:",
]
[tool.coverage.run]
omit = [
"brewblox_ctl/utils.py",
"brewblox_ctl/deployed/*",
"brewblox_ctl/templates/*",
]
[tool.flake8]
max-line-length = 120
exclude = ".venv"
[tool.autopep8]
max-line-length = 120