-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (47 loc) · 1.13 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
[tool.poetry]
name = "app"
version = "0.1.0"
description = ""
authors = ["Ivan Stasevich <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = { extras = ["all"], version = "^0.111.0" }
sqlalchemy = { extras = ["asyncio"], version = "^2.0.30" }
gunicorn = "^22.0.0"
alembic = "^1.13.1"
asyncpg = "^0.29.0"
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
sqladmin = "^0.19.0"
humanize = "^4.10.0"
redis = "^5.0.8"
uvicorn-worker = "^0.2.0"
pyjwt = {extras = ["crypto"], version = "^2.9.0"}
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
ruff = "^0.4.3"
pre-commit = "^3.7.0"
pytest = "^8.2.0"
pytest-asyncio = "^0.23.6"
sqlalchemy-utils = "^0.41.2"
faker = "^28.4.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
fix = true
indent-width = 4
line-length = 79
src = ["src"]
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
strict = true
pretty = true
plugins = "pydantic.mypy"
[[tool.mypy.overrides]]
module = "*.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"