-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
executable file
·53 lines (47 loc) · 1.06 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
[tool.poetry]
name = "blueiris-alerts"
version = "0.1.0"
description = ""
authors = ["wymangr"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
pydantic-settings = "2.0.0"
pydantic = "2.4.2"
requests = "2.31.0"
fastapi = "0.104.0"
slack-sdk = "3.23.0"
uvicorn = {version = "0.23.2", extras = ["standard"]}
gunicorn = "^21.2.0"
psutil = "5.9.6"
python-multipart = "0.0.6"
[tool.poetry.group.dev.dependencies]
black = "^23.10.1"
ruff = "^0.1.3"
poethepoet = "^0.24.1"
httpx = "0.25.1"
pytest = "7.4.3"
pytest-mock = "3.12.0"
pytest-dotenv = "0.5.2"
pytest-cov = "4.1.0"
aiohttp = "3.8.6"
[tool.pytest.ini_options]
env_override_existing_values = "1"
env_files = [
".test.env"
]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:"
]
omit = [
"./tests/*"
]
[tool.poe.tasks]
run_server = { shell = "uvicorn server.app:app --host 0.0.0.0 --port 8560 --reload" }
format = { shell = "black ." }
lint = { shell = "ruff ." }
test = { shell = "pytest . --cov" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"