-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (69 loc) · 1.74 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 = "diary-workout-tracker-backend"
version = "0.1.0"
description = ""
authors = [
"Струнникова Елизавета <liza.strunnikova@yandex.ru>",
"Оганин Петр <necroshizo@gmail.com>",
"Шапиро Алексей <novosib@gmail.com>",
"Шлемин Сергей <schlyomin@yandex.ru",
"Яременко Владислав <vlad.yaremenko.98@yandex.ru>",
"Ястребов Владислав <blakkheart66@gmail.com>",
]
readme = "README.md"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".mypy_cache",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"venv",
"frontendruff",
"migrations",
]
target-version = "py39"
line-length = 120
lint.ignore = ["D"]
lint.isort.known-first-party = ["api", "core", "users", "running", "utils", "config"]
[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
docstring-code-format = true
[tool.pytest.ini_options]
pythonpath = "backend"
DJANGO_SETTINGS_MODULE = "config.settings"
python_files = "tests.py test_*.py *_tests.py"
[tool.poetry.dependencies]
python = "^3.11"
django = "^5.0.2"
djangorestframework = "^3.14.0"
python-dotenv = "^1.0.1"
drf-spectacular = "^0.27.1"
gunicorn = "^21.2.0"
psycopg2-binary = "^2.9.9"
djangorestframework-simplejwt = "^5.3.1"
psycopg2 = "^2.9.9"
pillow = "^10.2.0"
redis = "^5.0.3"
celery = "^5.3.6"
boto3 = "^1.34.71"
django-storages = "^1.14.2"
pytz = "^2024.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.6.1"
ruff = "^0.2.1"
pytest = "^8.0.0"
pytest-django = "^4.8.0"
freezegun = "^1.4.0"
pytest-repeat = "^0.9.3"
isort = "^5.13.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"