cmsmanage/pyproject.toml

113 lines
2.3 KiB
TOML

[project]
name = "CMSManage"
version = "0.1.0"
description = ""
authors = [
{name = "Adam Goldsmith", email = "contact@adamgoldsmith.name"},
]
dependencies = [
"django~=5.0",
"django-admin-logs~=1.0",
"django-auth-ldap~=4.6",
"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.1",
"django-autocomplete-light~=3.9",
"weasyprint~=60.1",
"requests~=2.31",
"semver~=3.0",
"djangorestframework~=3.14",
"django-q2~=1.6",
"lxml~=4.9",
"django-object-actions~=4.2",
"udm-rest-client~=1.2",
"openapi-client-udm~=1.0",
"django-bleach~=1.0",
]
requires-python = ">=3.11"
[project.optional-dependencies]
server = [
"uvicorn[standard]~=0.25",
"setuptools~=69.0",
]
[project.entry-points."djangoq.errorreporters"]
admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter"
[tool.black]
line-length = 88
[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.source]]
url = "https://git.claremontmakerspace.org/api/packages/CMS/pypi/simple"
verify_ssl = true
name = "CMS"
include_packages = ["openapi-client-udm"]
[tool.pdm.dev-dependencies]
lint = [
"black~=23.11",
"djlint~=1.34",
]
typing = [
"mypy~=1.6",
"django-stubs~=4.2",
"setuptools~=69.0",
"types-bleach~=6.1",
"types-requests~=2.31",
"types-urllib3~=1.26",
"djangorestframework-stubs[compatible-mypy]~=3.14",
"lxml-stubs~=0.4",
]
debug = [
"django-debug-toolbar~=4.2",
]
dev = [
"django-extensions~=3.2",
"ipython~=8.18",
]
[tool.pdm.scripts]
start = "./manage.py runserver"
fmt.shell = "black . && djlint --reformat ."
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"