57 lines
1.1 KiB
TOML
57 lines
1.1 KiB
TOML
[project]
|
|
name = "dnscms"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = [{ name = "EDB", email = "edb@neuf.no" }]
|
|
requires-python = ">=3.14, <3.15"
|
|
dependencies = [
|
|
"wagtail>=7.4.1,<8",
|
|
"wagtail-grapple>=0.31.0,<0.32",
|
|
"wagtail-headless-preview>=0.8,<0.9",
|
|
"django>=6.0.5,<7",
|
|
"django-extensions>=4.1,<5",
|
|
"psycopg2-binary>=2.9.12,<3",
|
|
"gunicorn>=26.0.0,<27",
|
|
"whitenoise>=6.12.0,<7",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.15.13,<0.16",
|
|
"pytest>=9.0.3,<10",
|
|
"pytest-cov>=7.0.0,<8",
|
|
"pytest-django>=4.12.0,<5",
|
|
"wagtail-factories>=4.4.0,<5",
|
|
]
|
|
|
|
[tool.uv]
|
|
package = false
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
line-length = 99
|
|
|
|
[tool.ruff.lint]
|
|
select = ["F", "E", "W", "Q", "UP", "DJ"]
|
|
ignore = []
|
|
exclude = ["**/migrations/*.py"]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "dnscms.settings.test"
|
|
python_files = ["test_*.py"]
|
|
testpaths = ["tests"]
|
|
addopts = "--cov=. --cov-report=term-missing"
|
|
|
|
[tool.coverage.run]
|
|
omit = [
|
|
"*/migrations/*",
|
|
"tests/*",
|
|
"manage.py",
|
|
"dnscms/settings/*",
|
|
"dnscms/wsgi.py",
|
|
"dnscms/asgi.py",
|
|
]
|