-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (90 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
97 lines (90 loc) · 2.01 KB
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
96
97
[tool.poetry]
name = "backendfastapi"
version = "0.1.0"
description = ""
authors = ["BU-Marina <vorona.2003.bu@yandex.ru>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
django = "5.2.9"
fastapi = "^0.124.0"
uvicorn = "^0.38.0"
sqlalchemy = "^2.0.45"
alembic = "^1.17.2"
pydantic-settings = "^2.12.0"
asyncpg = "^0.31.0"
psycopg2 = "^2.9.11"
fastapi-users = "^15.0.1"
authlib = "^1.6.5"
aioredis = "^2.0.1"
unidecode = "^1.4.0"
python-slugify = "^8.0.4"
passlib = "^1.7.4"
aiofiles = "^25.1.0"
aioboto3 = "^15.5.0"
fastapi-mail = "^1.6.0"
celery = "^5.6.0"
django-celery-beat = "^2.8.1"
dj-database-url = "^3.0.1"
fastapi-users-db-sqlalchemy = "^7.0.0"
redis = "^7.1.0"
httpx = "^0.28.1"
setuptools = "^80.9.0"
websockets = "^16.0"
playwright = "^1.58.0"
pillow = "^12.1.1"
[tool.poetry.group.dev.dependencies]
gevent = "^25.9.1"
pre-commit = "^4.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"LC_MESSAGES",
".pytest-cache",
"*/migrations/*",
"*/__pycache__/*",
]
# Same as Black.
line-length = 88
indent-width = 4
# Assume Python 3.10
target-version = "py310"
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "single"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402", "F841"]
"src/config/asgi.py" = ["E402"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"