-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (49 loc) · 1.43 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 = "choose-me-a-cloud-back"
version = "0.1.0"
description = ""
authors = ["TheRoniOne <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
Django = "^4.2.5"
djangorestframework = "^3.14.0"
djangorestframework-simplejwt = "^5.3.0"
django-environ = "^0.11.2"
drf-spectacular = "^0.26.5"
django-cors-headers = "^4.2.0"
celery = { extras = ["redis"], version = "^5.3.6" }
django-celery-beat = "^2.5.0"
django-filter = "^23.5"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.0"
django-stubs = { extras = ["compatible-mypy"], version = "^4.2.4" }
djangorestframework-stubs = { extras = [
"compatible-mypy",
], version = "^3.14.4" }
[tool.poetry.group.test.dependencies]
pytest = "^7.4.2"
pytest-django = "^4.5.2"
pytest-cov = "^4.1.0"
factory-boy = "^3.3.0"
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = ["migrations"]
ignore = ["F403"]
extend-select = ["I"]
[tool.ruff.isort]
known-first-party = ["users", "config", "commons", "clouds", "tests"]
[tool.mypy]
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
[tool.django-stubs]
django_settings_module = "config.settings.local"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
django_find_project = true
django_debug_mode = "keep"
addopts = "--reuse-db"
testpaths = ["tests"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"