-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (50 loc) · 1.56 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
[tool.poetry]
name = "decision-making-app"
version = "0.1.0"
description = ""
authors = ["hrimov <[email protected]>"]
readme = "README.md"
packages = [
{ include = "dma", from = "src" }
]
[tool.poetry.scripts]
api = "src.dma.__main__:run"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.103.1"
uvicorn = { extras = ["standard"], version = "^0.23.2" }
sqlalchemy = { extras = ["asyncio"], version = "^2.0.21" }
alembic = "^1.12.0"
orjson = "^3.9.7"
psycopg = { extras = ["c"], version = "^3.1.14" }
aio-pika = "^9.3.0"
aioboto3 = "12.1.0"
types-aioboto3-lite = { extras = ["essential"], version = "^12.1.0" }
types-aiobotocore-lite = { extras = ["s3"], version = "^2.9.0" }
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
pytest-order = "^1.2.0"
testcontainers = {extras = ["postgresql", "rabbitmq"], version = "^3.7.1"}
testcontainers-minio = "^0.0.1rc1" # for now, it's a separate package
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
ruff = "^0.1.11"
mypy = "^1.5.1"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-vv --order-scope=module"
[tool.ruff]
select = ["ALL"]
ignore = ["A003", "ANN", "D", "FA100", "FA102", "FIX", "I", "PGH003", "PGH004", "TD"]
[tool.ruff.extend-per-file-ignores]
"src/dma/infrastructure/database/migrations/versions/*" = ["ALL"]
"tests/*" = ["ARG001", "F401", "PT003", "PT004", "S"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"