-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
74 lines (67 loc) · 1.51 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-history"
version = "1.0.0"
description = "Connector service for Brewblox history data"
authors = ["BrewPi <[email protected]>"]
license = "GPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<4"
ciso8601 = "^2.2.0"
pytimeparse = "^1.1.8"
redis = "^5.0.0"
ujson = "^5.8.0"
sortedcontainers = "^2.4.0"
fastapi = "^0.109.1"
uvicorn = { extras = ["standard"], version = "^0.24.0.post1" }
pydantic-settings = "^2.1.0"
fastapi-mqtt = "^2.0.0"
httpx = "^0.25.2"
websockets = "^12.0"
debugpy = "^1.8.0"
[tool.poetry.group.dev.dependencies]
pytest-cov = "*"
pytest-mock = "*"
flake8 = "*"
autopep8 = "*"
flake8-quotes = "*"
pytest = "*"
invoke = "*"
flake8-pyproject = "*"
pytest-docker = "*"
pytest-asyncio = "*"
pytest-httpx = "*"
asgi-lifespan = "*"
httpx-ws = "*"
[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=victoria/
--cov=brewblox_history
--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.flake8]
max-line-length = 120
exclude = ".venv"
[tool.autopep8]
max-line-length = 120