59 lines
1.1 KiB
TOML
59 lines
1.1 KiB
TOML
[project]
|
|
name = "CMS Management"
|
|
version = "0.1.0"
|
|
description = ""
|
|
authors = [
|
|
{name = "Adam Goldsmith", email = "contact@adamgoldsmith.name"},
|
|
]
|
|
dependencies = [
|
|
"django~=4.0",
|
|
"django-admin-logs~=1.0",
|
|
"django-auth-ldap~=4.0",
|
|
"django-markdownx<5,>=4.0.0b1",
|
|
"django-recurrence~=1.11",
|
|
"django-widget-tweaks~=1.4",
|
|
"markdownify~=0.10",
|
|
"mdformat~=0.7",
|
|
"mdformat-tables~=0.4",
|
|
"mysqlclient~=2.1",
|
|
"bleach~=5.0",
|
|
]
|
|
requires-python = ">=3.9"
|
|
|
|
[project.optional-dependencies]
|
|
server = [
|
|
"uvicorn~=0.17",
|
|
"setuptools~=60.9",
|
|
]
|
|
|
|
[tool.black]
|
|
|
|
[tool.djlint]
|
|
profile="django"
|
|
extension = ".dj.html"
|
|
indent = 2
|
|
blank_line_after_tag = "load,extends"
|
|
ignore = "T003,H017,H021,H030,H031"
|
|
|
|
[[tool.pdm.source]]
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
name = "pypi"
|
|
|
|
[tool.pdm.dev-dependencies]
|
|
lint = [
|
|
"black~=22.1",
|
|
"djlint~=1.0",
|
|
]
|
|
debug = [
|
|
"django-debug-toolbar~=3.2",
|
|
]
|
|
|
|
[tool.pdm.scripts]
|
|
start = "./manage.py runserver"
|
|
fmt.shell = "black . && djlint --reformat ."
|
|
|
|
[build-system]
|
|
requires = ["pdm-pep517"]
|
|
build-backend = "pdm.pep517.api"
|