45 lines
908 B
TOML
45 lines
908 B
TOML
[project]
|
|
name = "dnscms"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = [{ name = "EDB", email = "edb@neuf.no" }]
|
|
requires-python = ">=3.14, <3.15"
|
|
readme = "README.md"
|
|
dependencies = [
|
|
"wagtail>=7.4,<8",
|
|
"wagtail-grapple>=0.31.0,<0.32",
|
|
"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-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"]
|