-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (81 loc) · 2 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[project]
dependencies = [
"django",
"django-auditlog==2.2.0",
"django-braces",
"django-debug-toolbar",
"django-environ",
"django-extensions",
"django-filter",
"django-handyhelpers",
"django-hostutils",
"django-userextensions",
"django-pygwalker",
"django-signalcontrol",
"djangorestframework",
"djangorestframework-filters==1.0.0.dev0",
"drf-flex-fields",
"drf-spectacular",
"drf-renderer-xlsx",
]
description = "django project created from djangoaddicts django_project_template"
dynamic = ["version"]
keywords = ["django"]
license = {file = "LICENSE"}
name = "my_django_project"
readme = "README.md"
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
"bandit",
"black",
"coveralls",
"isort",
"model-bakery",
"mypy",
"mypy-extensions",
"ruff",
"pytest",
"pytest-cov",
"pytest-django",
"radon",
"safety",
"types-python-dateutil",
"typing_extensions",
]
[tool.bandit]
exclude_dirs = ["venv", "django_project/tests", "django_project/*/management/commands"]
[tool.black]
line-length = 120
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
branch = true
source = ["django_project"]
omit = [
"django_project/manage.py",
"django_project/core/asgi.py",
"django_project/core/wsgi.py",
"django_project/*/scripts/*",
"django_project/tests/*",
]
[tool.isort]
profile = "black"
[tool.mypy]
exclude = ["venv/*", "^django_project/*/migrations/*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-s -v -x --strict-markers -m 'not extra'"
testpaths = ["django_project"]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning",
]
[tool.ruff]
line-length = 120
exclude = ["django_project/manage.py", "django_project/tests", "django_project/*/migrations", "django_project/*/scripts", "django_project/*/local_test"]
[tool.setuptools.packages.find]
where = ["."]
include = ["django_project"]
exclude = []
namespaces = false