-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpyproject.toml
85 lines (74 loc) · 1.62 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
[tool.poetry]
name = "user_service"
version = "1.0.0"
description = "User service example"
authors = [
"SamWarden <SamWardenSad@gmail.com>",
]
maintainers = [
"SamWarden <SamWardenSad@gmail.com>",
]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/SamWarden/user_service"
repository = "https://github.com/SamWarden/user_service"
[tool.poetry.dependencies]
python = "^3.11"
sqlalchemy = "^2.0.29"
structlog = "^24.1.0"
fastapi = "^0.110.2"
orjson = "^3.10.1"
alembic = "^1.13.1"
rich = "^13.7.1"
asyncpg = "^0.29.0"
uvicorn = "^0.29.0"
didiator = {version = "^0.3.1", extras = ["di"]}
uuid6 = "^2024.1.12"
aio-pika = "^9.4.1"
uvloop = "^0.19.0"
adaptix = "^3.0.0b5"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.2"
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.2.0"
pytest-asyncio = "^0.23.6"
testcontainers = {version = "^4.4a.0", extras = ["postgresql"]}
pytest-order = "^1.2.1"
pytest-xdist = "^3.6.1"
[tool.poetry.group.lint]
optional = true
[tool.poetry.group.lint.dependencies]
pylint = "^3.1.0"
mypy = "^1.10.0"
ruff = "^0.4.2"
[tool.black]
line-length = 120
target-version = ["py311"]
include_trailing_comma = true
exclude = '''
(
\.eggs
| \.git
| build
| dist
| venv
| docs
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120
include_trailing_comma = true
combine_as_imports = true
remove_redundant_aliases = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"