-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (104 loc) · 2.22 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
102
103
104
105
106
107
108
109
110
111
112
[project]
authors = [
{name = "Niccolò Cantù", email = "[email protected]"}
]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
dependencies = [
"django-environ",
"python-slugify>=8.0.1",
"Pillow==10.3.0",
"rcssmin",
"argon2-cffi",
"psycopg[binary]",
"backoff",
"requests",
"django>=5.0.0",
"django-model-utils",
"django-allauth",
"django-crispy-forms",
"django-health-check",
"django-probes",
"django-postgres-extra",
"django-solo",
"django-appconf>=1.0.6",
"django-cors-headers>=4.3.1",
"django-filter>=24.1",
"slippers",
"django-tables2>=2.7.0",
"django-autocomplete-light>=3.11.0",
"dj-rest-auth",
"django-rest-framework",
"drf-spectacular",
"drf-standardized-errors[openapi]",
"djangorestframework-simplejwt",
"django-cors-headers",
"django-polymorphic",
"django-unfold",
"crispy-tailwind",
"django-tailwind",
"django-htmx",
"django-template-partials",
"neapolitan",
"fontawesomefree",
"django-allauth-ui==1.1.6",
"django-widget-tweaks",
"django-taggit",
"django-tables2",
"django-formset",
"django-vite"
]
description = ""
license = {text = "GPL-3.0+"}
name = "genlab_bestilling"
readme = "README.md"
requires-python = ">=3.10"
version = "0.1.0"
[project.optional-dependencies]
dev = [
"Werkzeug[watchdog]",
"ipdb",
"pytest",
"pytest-sugar",
"coverage",
"pre-commit",
"factory-boy",
"django-debug-toolbar",
"django-extensions",
"django-coverage-plugin",
"pytest-django",
"django-models2puml>=0.2"
]
prod = [
"gunicorn",
"sentry-sdk>=1.40.5"
]
tools = [
"pre-commit",
"pyyaml",
"GitPython"
]
[project.scripts]
"manage.py" = "genlab_bestilling:django_manage"
# ==== Coverage ====
[tool.coverage]
[tool.coverage.run]
include = ["app/**"]
omit = ["*/migrations/*", "*/tests/*"]
plugins = ["django_coverage_plugin"]
# ==== pytest ====
[tool.pytest.ini_options]
addopts = "--ds=config.settings.test --reuse-db"
minversion = "6.0"
python_files = [
"tests.py",
"test_*.py"
]
[tool.ruff]
fix = true
[tool.ruff.lint]
ignore = ["COM812"]
select = ["E", "W", "I", "F", "UP", "S", "B", "A", "COM", "LOG", "PTH", "Q"]
[tool.ruff.lint.per-file-ignores]
"**/migrations/*.py" = ["E501", "ANN"]
"init.py" = ["S603", "S607"]