-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
48 lines (43 loc) · 1.16 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
[tool.poetry]
name = "core"
version = "0.1.0"
description = ""
authors = ["Jonas Tischer <jonas.tischer@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.31.0"
djangorestframework = "^3.14.0"
django-cors-headers = "^4.2.0"
python-decouple = "^3.8"
drf-spectacular = "^0.26.5"
djoser = "^2.2.0"
django-ses = "^3.5.0"
poethepoet = "^0.24.1"
pytest-django = "^4.5.2"
black = "^23.10.0"
ruff = "^0.1.1"
isort = "^5.12.0"
dj-database-url = "^2.1.0"
python-dotenv = "^1.0.0"
django-storages = "^1.14.2"
gunicorn = "^21.2.0"
factory-boy = "^3.3.0"
psycopg2-binary = "^2.9.9"
djangorestframework-simplejwt = "^5.3.1"
django = "^5.1.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
run = "poetry run python manage.py runserver"
test = "poetry run pytest ."
format = "poetry run black . "
lint = "poetry run ruff . --fix"
sort = "poetry run isort . "
precommit = ["format", "lint", "test"]
manage = "poetry run python manage.py"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "core.settings"
# -- recommended but optional:
python_files = ["test_*.py", "*_test.py", "testing/python/*.py"]