-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
72 lines (65 loc) · 1.44 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
[tool.poetry]
name = "brewblox-tilt"
version = "2.1.0"
description = "Tilt hydrometer service for Brewblox"
authors = [
"BrewPi <[email protected]>",
"James Sandford <[email protected]>",
]
license = "GPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.11"
Pint = "^0.22"
"ruamel.yaml" = "^0.17.17"
numpy = "1.25.2"
bleak = "^0.21.1"
construct = "^2.10.68"
pydantic-settings = "^2.1.0"
fastapi = "^0.104.1"
fastapi-mqtt = "^2.0.0"
uvicorn = { extras = ["standard"], version = "^0.24.0.post1" }
[tool.poetry.group.dev.dependencies]
pytest-cov = "*"
pytest-mock = "*"
flake8 = "*"
autopep8 = "*"
flake8-quotes = "*"
PyYAML = "*"
pytest = "*"
invoke = "*"
flake8-pyproject = "*"
pytest-asyncio = "*"
pytest-docker = "*"
httpx = "^0.25.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = """
--ignore=app/
--ignore=share/
--cov=brewblox_tilt
--cov-branch
--cov-report=term-missing:skip-covered
--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.flake8]
max-line-length = 120
exclude = ".venv"
[tool.autopep8]
max-line-length = 120