-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
69 lines (60 loc) · 1.4 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
[tool.poetry]
name = "irrigation-pi"
version = "1.3.0"
description = ""
authors = ["Max Pfeiffer <max@maxpfeiffer.ch>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
alembic = "1.13.1"
APScheduler = "3.10.4"
asyncer = "0.0.7"
click = "8.1.7"
fastapi-slim = "0.111.0"
furl = "2.1.3"
psutil = "5.9.8"
pydantic-settings = "2.3.3"
semver = "3.0.2"
sqlalchemy = "2.0.30"
sqlmodel = "0.0.19"
toml = "0.10.2"
uvicorn = {version = "0.30.1", extras = ["standard"]}
gpiozero = "2.0.1"
pigpio = "1.78"
"RPi.GPIO" = {version = "0.7.1", markers= "sys_platform == 'linux'"}
[tool.poetry.group.dev.dependencies]
coverage = "7.6.1"
pre-commit = "3.7.1"
pytest = "8.2.2"
pytest-asyncio = "0.23.7"
pytest-cov = "5.0.0"
httpx = "0.27.0"
ruff = "0.6.4"
[tool.poetry.scripts]
irrigation-pi = 'irrigation_pi:cli'
[tool.ruff]
exclude = [".venv", "backend/migrations", "frontend"]
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # pycodestyle
"W", # pycodestyle
"I", # isort
"D", # pydocstyle
"UP", # pyupgrade
"ASYNC", # flake8-async
"RUF", # Ruff-specific rules
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
# https://docs.pytest.org/en/latest/reference/customize.html
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = [
"irrigation_pi/tests",
"backend/tests"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"