cmsmanage/pyproject.toml

89 lines
1.7 KiB
TOML
Raw Normal View History

2022-02-11 23:52:31 -05:00
[project]
name = "CMS Management"
version = "0.1.0"
description = ""
authors = [
{name = "Adam Goldsmith", email = "contact@adamgoldsmith.name"},
]
dependencies = [
2023-04-03 10:53:29 -04:00
"django~=4.2",
2022-02-11 23:52:31 -05:00
"django-admin-logs~=1.0",
2023-06-08 13:49:53 -04:00
"django-auth-ldap~=4.3",
2023-03-22 11:36:44 -04:00
"django-markdownx~=4.0",
"django-recurrence~=1.11",
"django-widget-tweaks~=1.4",
2023-03-22 11:36:44 -04:00
"markdownify~=0.11",
"mdformat~=0.7",
"mdformat-tables~=0.4",
"mysqlclient~=2.1",
2023-03-22 11:36:44 -04:00
"bleach~=6.0",
"django-autocomplete-light~=3.9",
2023-06-08 13:49:53 -04:00
"weasyprint~=59.0",
"requests~=2.31",
2023-04-03 10:53:29 -04:00
"semver~=3.0",
2023-03-22 11:36:44 -04:00
"djangorestframework~=3.14",
2022-02-11 23:52:31 -05:00
]
requires-python = ">=3.9"
[project.optional-dependencies]
server = [
2023-06-08 13:49:53 -04:00
"uvicorn~=0.22",
"setuptools~=67.8",
]
2022-02-11 23:52:31 -05:00
2022-01-23 23:03:08 -05:00
[tool.djlint]
profile="django"
2022-01-23 23:03:08 -05:00
extension = ".dj.html"
indent = 2
blank_line_after_tag = "load,extends"
ignore = "T003,H017,H021,H030,H031"
2022-11-07 12:48:57 -05:00
format_css = true
format_js = true
[tool.djlint.css]
indent_size = 2
[tool.djlint.js]
indent_size = 2
[tool.mypy]
2023-02-02 22:33:13 -05:00
plugins = [
"mypy_django_plugin.main",
"mypy_drf_plugin.main",
]
[tool.django-stubs]
django_settings_module = "cmsmanage.settings.dev"
2022-02-11 23:52:31 -05:00
[[tool.pdm.source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[tool.pdm.dev-dependencies]
lint = [
2023-04-03 10:53:29 -04:00
"black~=23.3",
2023-06-08 13:49:53 -04:00
"djlint~=1.30",
2022-02-11 23:52:31 -05:00
]
typing = [
2023-06-08 13:49:53 -04:00
"mypy~=1.3",
"django-stubs~=4.2",
"setuptools~=67.8",
2023-03-22 11:36:44 -04:00
"types-bleach~=6.0",
2023-06-08 13:49:53 -04:00
"types-requests~=2.31",
2023-03-22 11:36:44 -04:00
"types-urllib3~=1.26",
2023-06-08 13:49:53 -04:00
"djangorestframework-stubs[compatible-mypy]~=3.14",
]
debug = [
2023-06-08 13:49:53 -04:00
"django-debug-toolbar~=4.1",
]
2022-02-11 23:52:31 -05:00
[tool.pdm.scripts]
start = "./manage.py runserver"
fmt.shell = "black . && djlint --reformat ."
2022-02-11 23:52:31 -05:00
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"