-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
47 lines (38 loc) · 989 Bytes
/
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
[tool.poetry]
name = "aqimon"
version = "0.6.0"
description = "Air Quality Index Monitor"
authors = ["Tim Orme"]
readme = "README.md"
include = ["aqimon/static/elm.js"]
[tool.poetry.dependencies]
python = "^3.9"
fastapi = "^0.92.0"
pyserial = "^3.5"
uvicorn = "^0.21.0"
databases = {extras = ["aiosqlite"], version = "^0.7.0"}
fastapi-utils = "^0.2.1"
sds011lib = "^0.4.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.256"
black = "^23.1.0"
mypy = "^1.1.1"
pytest = "^7.3.1"
pytest-asyncio = "^0.21.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
aqimon = "aqimon.server:start"
aqimond = "aqimon.server:debug"
[tool.ruff]
select = ["E", "F", "D"]
ignore = ["D203", "D213"]
line-length = 120
[tool.ruff.per-file-ignores]
"tests/*" = ["D100", "D101", "D102", "D103", "D104" ] # We dont need docstrings in tests
[tool.black]
line-length = 120
[[tool.mypy.overrides]]
module = "serial.*"
ignore_missing_imports = true