-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (70 loc) · 1.55 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
[tool.poetry]
name = "src"
version = "0.1.0"
description = "Backend Template"
authors = ["Danila Safonov <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.104.1"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.23"}
alembic = "^1.13.0"
pydantic = {extras = ["email"], version = "^2.5.2"}
python-jose = "^3.3.0"
uvicorn = "^0.24.0.post1"
psycopg2-binary = "^2.9.9"
bcrypt = "^4.1.2"
asyncpg = "^0.29.0"
orjson = "^3.9.10"
pytest-spec = "^3.2.0"
structlog = "^24.1.0"
uuid6 = "^2024.1.12"
prometheus-client = "^0.19.0"
faststream = {extras = ["rabbit"], version = "^0.3.14"}
[tool.poetry.group.tools.dependencies]
pre-commit = "^3.5.0"
[tool.poetry.group.lints.dependencies]
mypy = "^1.7.1"
ruff = "^0.1.7"
black = "^23.11.0"
isort = "^5.12.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.3"
pytest-asyncio = "^0.23.3"
httpx = "^0.26.0"
pytest-factoryboy = "^2.6.0"
pytest-sugar = "^0.9.7"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.5.0"
pytest-order = "^1.2.0"
testcontainers = "^3.7.1"
testcontainers-postgres = "^0.0.1rc1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
include_trailing_comma = true
combine_as_imports = true
remove_redundant_aliases = true
force_grid_wrap = 2
use_parentheses = true
ensure_newline_before_comments = true