-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (73 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (73 loc) · 1.81 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
[project]
name = "production-django-docker-example"
version = "0.0.0" # Version controlled in version.json
description = ""
requires-python = "==3.13.*"
classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.13" ]
dependencies = [
"air-drf-relation>=1.0.3",
"celery>=5.5.3",
"django>=5.2.7",
"django-cors-headers>=4.9.0",
"django-environ>=0.12.0",
"django-extensions>=4.1",
"django-filter>=25.2",
"djangorestframework>=3.16.1",
"djangorestframework-simplejwt==5.4.0", # ERROR v5.5.0 type object 'OutstandingToken' has no attribute 'objects' on refresh token
"gunicorn>=23.0.0",
"loguru>=0.7.3",
"psycopg[binary]>=3.2.10",
"redis>=6.4.0",
"requests>=2.32.5",
"sentry-sdk>=2.41.0",
]
[dependency-groups]
dev = [
"coverage>=7.10.7",
"django-stubs>=5.2.7",
"djangorestframework-stubs>=3.16.4",
"pre-commit>=4.3.0",
"ruff>=0.14.0",
]
[tool.ruff]
target-version = "py313"
line-length = 120
indent-width = 4
fix = true
format.quote-style = "single"
format.line-ending = "auto"
format.skip-magic-trailing-comma = false
lint.extend-select = [ "I" ]
lint.extend-per-file-ignores."core/settings/*.py" = [ "F403", "F405" ]
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.coverage.run]
source = [ "." ]
omit = [
"*/migrations/*",
"*/tests/*",
"*/venv/*",
"manage.py",
"*/settings/*",
"*/node_modules/*",
]
[tool.coverage.report]
fail_under = 40
skip_empty = true
skip_covered = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
]
[tool.pyright]
typeCheckingMode = "basic"
[tool.pyupgrade]
py313-plus = true
[tool.bandit]
skips = [ "B101" ]
exclude_dirs = [
"tests",
"*/tests/*",
"*/migrations/*",
]