cmsmanage/pyproject.toml
2023-09-07 10:54:59 -04:00

90 lines
1.7 KiB
TOML

[project]
name = "CMSManage"
version = "0.1.0"
description = ""
authors = [
{name = "Adam Goldsmith", email = "contact@adamgoldsmith.name"},
]
dependencies = [
"django~=4.2",
"django-admin-logs~=1.0",
"django-auth-ldap~=4.5",
"django-markdownx~=4.0",
"django-recurrence~=1.11",
"django-widget-tweaks~=1.5",
"django-stubs-ext~=4.2",
"markdownify~=0.11",
"mdformat~=0.7",
"mdformat-tables~=0.4",
"mysqlclient~=2.2",
"bleach~=6.0",
"django-autocomplete-light~=3.9",
"weasyprint~=59.0",
"requests~=2.31",
"semver~=3.0",
"djangorestframework~=3.14",
]
requires-python = ">=3.9"
[project.optional-dependencies]
server = [
"uvicorn~=0.23",
"setuptools~=68.2",
]
[tool.djlint]
profile="django"
extension = ".dj.html"
indent = 2
blank_line_after_tag = "load,extends"
ignore = "T003,H017,H021,H030,H031"
format_css = true
format_js = true
[tool.djlint.css]
indent_size = 2
[tool.djlint.js]
indent_size = 2
[tool.mypy]
plugins = [
"mypy_django_plugin.main",
"mypy_drf_plugin.main",
]
[tool.django-stubs]
django_settings_module = "cmsmanage.settings.dev"
[[tool.pdm.source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[tool.pdm.dev-dependencies]
lint = [
"black~=23.7",
"djlint~=1.32",
]
typing = [
"mypy~=1.4",
"django-stubs~=4.2",
"setuptools~=68.2",
"types-bleach~=6.0",
"types-requests~=2.31",
"types-urllib3~=1.26",
"djangorestframework-stubs[compatible-mypy]~=3.14",
]
debug = [
"django-debug-toolbar~=4.2",
]
[tool.pdm.scripts]
start = "./manage.py runserver"
fmt.shell = "black . && djlint --reformat ."
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"