-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
95 lines (82 loc) · 1.64 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "clean-architecture-ddd"
version = "0.1.0"
description = ""
authors = ["edpyt <[email protected]>"]
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
blacksheep = "^2.0.7"
uvicorn = "^0.27.1"
pydantic = "^2.6.3"
rodi = "^2.0.6"
pyjwt = "^2.8.0"
structlog = "^24.1.0"
mediatr = "^1.3.2"
adaptix = "^3.0.0b3"
guardpost = "^1.0.2"
orjson = "^3.10.2"
nats-py = "^2.7.2"
logfire = {extras = ["asyncpg"], version = "^0.30.0"}
[tool.poetry.group.db.dependencies]
asyncpg = "^0.29.0"
sqlalchemy = "^2.0.29"
[tool.poetry.group.migrations]
optional = true
[tool.poetry.group.migrations.dependencies]
alembic = "^1.13.1"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.0.2"
pytest-asyncio = "^0.23.5"
testcontainers = "4.4.0"
pytest-mock = "^3.14.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.0"
ruff = "^0.3.6"
flake8-aaa = "^0.17.0"
flake8 = "^7.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 99
src = ["src"]
include = ["src/**.py", "tests/**.py"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ARG",
"ANN",
"D",
"EM101",
"EM102",
"PT001",
"PT023",
"SIM108",
"SIM114",
"TRY003",
"PLW2901",
"RET505",
"PLR0913",
"FA",
"S101",
"PLR2004",
"TCH001",
"PGH003",
"TD001",
"TD002",
"TD003",
"FIX001",
"FIX002",
"TCH002",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S106"]
"*/migrations/versions/*" = ["N999"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = ["ignore::DeprecationWarning"]