-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
59 lines (52 loc) · 1.31 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
[build-system]
requires = ["setuptools >= 68.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "mreg"
requires-python = ">=3.10"
dependencies = [
"Django>=5.0a1,<5.1",
"djangorestframework==3.14.0",
"django-auth-ldap>=4.8.0",
"django-logging-json>=1.15",
"django-netfields>=1.3.2",
"django-filter>=24.2",
"structlog>=24.1.0",
"rich>=13.7.1",
"gunicorn>=22.0.0",
"idna>=3.7",
"psycopg2-binary>=2.9.9",
"pika>=1.3.2",
"sentry-sdk>=2.3.1",
"tzdata>=2024.1",
# For OpenAPI schema generation.
"uritemplate",
"pyyaml",
# For testing inside Docker image
"unittest-parametrize"
]
dynamic = ["version"]
# https://docs.astral.sh/uv/concepts/dependencies/#dependency-groups
[dependency-groups]
dev = [
"tox-uv",
"coverage",
"pytest",
"pytest-django",
]
ci = [
# Explictly include dev group for non-uv package managers
# (dev group is automatically installed with uv)
{include-group = "dev"},
"tox-gh-actions",
"coveralls",
]
[tool.ruff]
# https://beta.ruff.rs/docs/rules/
select = ["E", "F"]
line-length = 119
exclude = ["mreg/migrations/", "hostpolicy/migrations/", ".tox"]
[tool.setuptools]
py-modules = ["mreg", "mregsite", "hostpolicy"]
[tool.setuptools_scm]
version_file = "mreg/_version.py"