-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (76 loc) · 1.66 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
[tool.poetry]
name = "advanced-auth-service"
version = "0.1.0"
description = ""
authors = ["artorias <kyrylbarabash@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
python-dotenv = "^1.0.1"
loguru = "^0.7.2"
sqlalchemy = "^2.0.36"
asyncpg = "^0.30.0"
passlib = "^1.7.4"
punq = "^0.7.0"
alembic = "^1.14.0"
pyjwt = "^2.10.1"
fastapi = "^0.115.6"
pyotp = "^2.9.0"
qrcode = "^8.0"
pillow = "^11.0.0"
aiosmtplib = "^3.0.2"
redis = "^5.2.1"
uvicorn = "^0.32.1"
httpx = "^0.28.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.1"
pytest = "^8.3.4"
pytest-asyncio = "^0.24.0"
ruff = "^0.8.1"
faker = "^33.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest]
asyncio_mode = "auto"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
[tool.isort]
multi_line_output=3
include_trailing_comma=true
line_length=100
lines_after_imports=2
lines_between_sections=1
lines_between_types=0
force_alphabetical_sort_within_sections=true
ensure_newline_before_comments=true
combine_as_imports=true
combine_star=true
skip_gitignore=true
balanced_wrapping=true
force_grid_wrap=2
src_paths=["src", "app", "core"]
skip_glob=[
".git",
".idea",
".vscode",
"venv",
".venv",
]
known_frameworks=["fastapi", "django", "aiohttp", "aiogram"]
known_libs=["redis", "mongorepo", "orjson", "pydantic"]
known_first_party=["src", "app", "core"]
sections=[
"FUTURE",
"STDLIB",
"FRAMEWORKS",
"LIBS",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER",
]
[tool.mypy]
exclude = ["tests/", "test.py"]
check_untyped_defs = true
disallow_untyped_calls = true
warn_unused_ignores = false