-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.73 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
[tool.poetry]
name = "planty"
version = "0.1.0"
description = "Task management system"
authors = ["m-danya <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
fastapi = {extras = ["all"], version = "^0.110.0"}
sqlalchemy = "^2.0.28"
alembic = "^1.13.1"
asyncpg = "^0.29.0"
loguru = "^0.7.2"
gunicorn = "^21.2.0"
aiosqlite = "^0.20.0"
mypy = "^1.10.0"
coverage = "^7.6.1"
python-dateutil = "^2.9.0.post0"
types-python-dateutil = "^2.9.0.20240906"
aiobotocore = "^2.15.1"
types-aiobotocore = {extras = ["s3"], version = "^2.15.1"}
docker = "^7.1.0"
types-docker = "^7.1.0.20240827"
fastapi-users = {extras = ["sqlalchemy"], version = "^13.0.0"}
pytest-xdist = "^3.6.1"
pytest-instafail = "^0.5.0"
pytest-randomly = "^3.15.0"
pytest-cov = "^5.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
pytest-asyncio = "^0.23.6"
httpx = "^0.27.0"
ruff = "^0.3.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
# Do not hide stdout while running tests
addopts = "-s -v --instafail --nf"
filterwarnings = [
# This's triggered by pytest-asyncio,
# which calls deprecated asyncio.get_event_loop() method
# ref: https://github.com/pytest-dev/pytest-asyncio/issues/757
"ignore:There is no current event loop",
# Ignore DeprecationWarning related to Future.cancel() in anyio/_asyncio.py
"ignore:Passing 'msg' argument to (Future|Task).cancel.*:DeprecationWarning",
]
testpaths = ["planty"]
[tool.ruff]
extend-exclude = ["alembic/versions"]
[tool.mypy]
explicit_package_bases = true
strict = true
allow_redefinition = true
exclude = "alembic/"
plugins = ["pydantic.mypy"]
[tool.coverage.run]
concurrency = ["greenlet", "thread"]