-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (123 loc) · 2.86 KB
/
pyproject.toml
File metadata and controls
134 lines (123 loc) · 2.86 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "backend"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = "==3.12.*"
dependencies = [
"argon2-cffi>=25.1.0",
"boto3 (>=1.43.11,<2.0.0)",
"celery[redis]>=5.6.3",
"cryptography>=48.0.0",
"django>=6.0.5",
"django-allauth[headless,openid,socialaccount]>=65.16.1",
"django-constance>=4.3.5",
"django-cors-headers>=4.9.0",
"django-environ>=0.13.0",
"django-extensions>=4.1",
"django-filter>=25.2",
"django-modeltranslation>=0.20.3",
"django-picklefield>=3.4.0",
"django-simple-history>=3.11.0",
"django-storages[s3]>=1.14.6",
"djangorestframework>=3.17.1",
"drf-spectacular>=0.29.0",
"drf-standardized-errors[openapi]>=0.16.0",
"faker>=40.18.0",
"gunicorn>=26.0.0",
"google-api-python-client>=2.196.0",
"google-auth-httplib2>=0.4.0",
"google-auth-oauthlib>=1.4.0",
"httpx>=0.28.1",
"jinja2>=3.1.6",
"model-bakery>=1.23.4",
"packaging>=26.2",
"pandas[excel, performance]>=3.0.3",
"psycopg[binary]>=3.3.4",
"py-openapi-schema-to-json-schema>=0.0.3",
"sentry-sdk[django]>=2.60.0",
"setuptools>=82.0.1",
"shortuuid>=1.0.13",
"qrcode[pil]>=8.0",
"weasyprint>=63.0",
]
[dependency-groups]
dev = [
"boto3-stubs[essential,s3]>=1.43.11",
"django-stubs[compatible-mypy]>=6.0.4",
"djangorestframework-stubs[compatible-mypy]>=3.17.0",
"freezegun>=1.5.0",
"ipython>=9.13.0",
"pre-commit>=4.6.0",
"pytest>=9.0.3",
"pytest-cov>=5.0.0",
"pytest-django>=4.12.0",
"pytest-socket>=0.7.0",
]
deployment = [
"packaging>=26.2",
]
[tool.uv]
package = false
default-groups = [
"dev",
"deployment",
]
[tool.poetry.group.dev.dependencies]
pytest = ">=8.3.5,<9.0.0"
pytest-django = "^4.11.1"
pytest-socket = "^0.7.0"
faker = "^37.3.0"
model-bakery = "^1.20.4"
[tool.isort]
profile = "black"
line_length = 120
known_third_party = [
"rest_framework",
]
[tool.django-stubs]
django_settings_module = "core.settings"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
fixable = [
"ALL",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "core.settings"
norecursedirs = ".git migrations static template"
python_files = "*_test.py"
addopts = "--reuse-db --disable-socket -v"
[tool.coverage.run]
source = ["."]
branch = false
omit = [
"*/migrations/*",
"*/test/*",
"*/tests/*",
"*/conftest.py",
"*/__pycache__/*",
"*/admin.py",
"manage.py",
"core/settings.py",
"core/wsgi.py",
"core/asgi.py",
"core/celery.py",
]
[tool.coverage.report]
show_missing = true
skip_covered = false
precision = 1
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
"\\.\\.\\.",
]
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"