Use 4 spaces for pyproject.toml indentation
This commit is contained in:
parent
e5462a0063
commit
2ab94b0d5e
223
pyproject.toml
223
pyproject.toml
@ -7,93 +7,93 @@ name = "cmsmanage"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = ""
|
description = ""
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Adam Goldsmith", email = "contact@adamgoldsmith.name" },
|
{ name = "Adam Goldsmith", email = "contact@adamgoldsmith.name" },
|
||||||
]
|
]
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
"Programming Language :: Python :: 3.13",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitstring~=4.2",
|
"bitstring~=4.2",
|
||||||
"django~=5.1",
|
"django~=5.1",
|
||||||
"django-admin-logs~=1.3",
|
"django-admin-logs~=1.3",
|
||||||
"django-auth-ldap~=5.1",
|
"django-auth-ldap~=5.1",
|
||||||
"django-autocomplete-light~=3.11",
|
"django-autocomplete-light~=3.11",
|
||||||
"django-bootstrap5~=24.3",
|
"django-bootstrap5~=24.3",
|
||||||
"django-configurations[database,email]~=2.5",
|
"django-configurations[database,email]~=2.5",
|
||||||
"django-db-views~=0.1",
|
"django-db-views~=0.1",
|
||||||
"django-filter~=24.3",
|
"django-filter~=24.3",
|
||||||
"django-markdownx~=4.0",
|
"django-markdownx~=4.0",
|
||||||
"django-model-utils~=5.0",
|
"django-model-utils~=5.0",
|
||||||
"django-nh3~=0.1",
|
"django-nh3~=0.1",
|
||||||
"django-object-actions~=4.3",
|
"django-object-actions~=4.3",
|
||||||
"django-postgres-metrics~=0.15",
|
"django-postgres-metrics~=0.15",
|
||||||
"django-q2~=1.7",
|
"django-q2~=1.7",
|
||||||
"django-recurrence~=1.11",
|
"django-recurrence~=1.11",
|
||||||
"django-sendfile2~=0.7",
|
"django-sendfile2~=0.7",
|
||||||
"django-simple-history~=3.7",
|
"django-simple-history~=3.7",
|
||||||
"django-stubs-ext~=5.1",
|
"django-stubs-ext~=5.1",
|
||||||
"django-tables2~=2.7",
|
"django-tables2~=2.7",
|
||||||
"django-template-partials~=24.4",
|
"django-template-partials~=24.4",
|
||||||
"django-vite~=3.0",
|
"django-vite~=3.0",
|
||||||
"django-weasyprint~=2.3",
|
"django-weasyprint~=2.3",
|
||||||
"django-widget-tweaks~=1.5",
|
"django-widget-tweaks~=1.5",
|
||||||
"djangorestframework~=3.15",
|
"djangorestframework~=3.15",
|
||||||
"google-api-python-client~=2.151",
|
"google-api-python-client~=2.151",
|
||||||
"google-auth-oauthlib~=1.2",
|
"google-auth-oauthlib~=1.2",
|
||||||
"lxml~=5.3",
|
"lxml~=5.3",
|
||||||
"markdownify~=0.13",
|
"markdownify~=0.13",
|
||||||
"mdformat~=0.7",
|
"mdformat~=0.7",
|
||||||
"mdformat-tables~=1.0",
|
"mdformat-tables~=1.0",
|
||||||
"nh3~=0.2",
|
"nh3~=0.2",
|
||||||
"openapi-client-udm~=1.0",
|
"openapi-client-udm~=1.0",
|
||||||
"psycopg[binary,pool]~=3.2",
|
"psycopg[binary,pool]~=3.2",
|
||||||
"requests~=2.32",
|
"requests~=2.32",
|
||||||
"semver~=3.0",
|
"semver~=3.0",
|
||||||
"tablib[ods,xlsx]~=3.7",
|
"tablib[ods,xlsx]~=3.7",
|
||||||
"udm-rest-client~=1.2",
|
"udm-rest-client~=1.2",
|
||||||
"weasyprint~=63.0",
|
"weasyprint~=63.0",
|
||||||
]
|
]
|
||||||
optional-dependencies.server = [
|
optional-dependencies.server = [
|
||||||
"setuptools~=75.3",
|
"setuptools~=75.3",
|
||||||
"uvicorn[standard]~=0.32",
|
"uvicorn[standard]~=0.32",
|
||||||
]
|
]
|
||||||
entry-points."djangoq.errorreporters".admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter"
|
entry-points."djangoq.errorreporters".admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"coverage~=7.6",
|
"coverage~=7.6",
|
||||||
"django-extensions~=3.2",
|
"django-extensions~=3.2",
|
||||||
"hypothesis[django]~=6.116",
|
"hypothesis[django]~=6.116",
|
||||||
"ipython~=8.29",
|
"ipython~=8.29",
|
||||||
"tblib~=3.0",
|
"tblib~=3.0",
|
||||||
]
|
]
|
||||||
debug = [
|
debug = [
|
||||||
"django-debug-toolbar~=4.4",
|
"django-debug-toolbar~=4.4",
|
||||||
]
|
]
|
||||||
lint = [
|
lint = [
|
||||||
"djlint~=1.36",
|
"djlint~=1.36",
|
||||||
"pyproject-fmt~=2.5",
|
"pyproject-fmt~=2.5",
|
||||||
"ruff~=0.7",
|
"ruff~=0.7",
|
||||||
]
|
]
|
||||||
typing = [
|
typing = [
|
||||||
"django-stubs~=5.1",
|
"django-stubs~=5.1",
|
||||||
"djangorestframework-stubs[compatible-mypy]~=3.15",
|
"djangorestframework-stubs[compatible-mypy]~=3.15",
|
||||||
"google-api-python-client-stubs~=1.28",
|
"google-api-python-client-stubs~=1.28",
|
||||||
"mypy~=1.11",
|
"mypy~=1.11",
|
||||||
"setuptools~=75.3",
|
"setuptools~=75.3",
|
||||||
"types-bleach~=6.1",
|
"types-bleach~=6.1",
|
||||||
"types-lxml~=2024.9",
|
"types-lxml~=2024.9",
|
||||||
"types-markdown~=3.7",
|
"types-markdown~=3.7",
|
||||||
"types-psycopg2~=2.9",
|
"types-psycopg2~=2.9",
|
||||||
"types-pygments~=2.18",
|
"types-pygments~=2.18",
|
||||||
"types-python-dateutil~=2.9",
|
"types-python-dateutil~=2.9",
|
||||||
"types-requests~=2.32",
|
"types-requests~=2.32",
|
||||||
"types-urllib3~=1.26",
|
"types-urllib3~=1.26",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[tool.pdm.source]]
|
[[tool.pdm.source]]
|
||||||
@ -115,63 +115,66 @@ fmt.shell = "ruff check --fix ; ruff format . ; djlint --reformat ."
|
|||||||
line-length = 88
|
line-length = 88
|
||||||
|
|
||||||
lint.select = [
|
lint.select = [
|
||||||
"A",
|
"A",
|
||||||
"B",
|
"B",
|
||||||
"C4",
|
"C4",
|
||||||
"DJ012",
|
"DJ012",
|
||||||
"E4",
|
"E4",
|
||||||
"E7",
|
"E7",
|
||||||
"E9",
|
"E9",
|
||||||
"F",
|
"F",
|
||||||
"FIX003",
|
"FIX003",
|
||||||
"FURB",
|
"FURB",
|
||||||
"I",
|
"I",
|
||||||
"INP",
|
"INP",
|
||||||
"ISC",
|
"ISC",
|
||||||
"LOG",
|
"LOG",
|
||||||
"PERF",
|
"PERF",
|
||||||
"PIE",
|
"PIE",
|
||||||
"PL",
|
"PL",
|
||||||
"PTH",
|
"PTH",
|
||||||
"Q",
|
"Q",
|
||||||
"RSE",
|
"RSE",
|
||||||
"SIM",
|
"SIM",
|
||||||
"TCH",
|
"TCH",
|
||||||
"UP",
|
"UP",
|
||||||
]
|
]
|
||||||
lint.ignore = [ "ISC001" ]
|
lint.ignore = [ "ISC001" ]
|
||||||
lint.isort.known-first-party = [
|
lint.isort.known-first-party = [
|
||||||
"cmsmanage",
|
"cmsmanage",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
"doorcontrol",
|
"doorcontrol",
|
||||||
"membershipworks",
|
"membershipworks",
|
||||||
"paperwork",
|
"paperwork",
|
||||||
"rentals",
|
"rentals",
|
||||||
"reservations",
|
"reservations",
|
||||||
"tasks",
|
"tasks",
|
||||||
]
|
]
|
||||||
lint.isort.section-order = [ "future", "standard-library", "django", "third-party", "first-party", "local-folder" ]
|
lint.isort.section-order = [ "future", "standard-library", "django", "third-party", "first-party", "local-folder" ]
|
||||||
lint.isort.sections."django" = [ "django" ]
|
lint.isort.sections."django" = [ "django" ]
|
||||||
|
|
||||||
|
[tool.pyproject-fmt]
|
||||||
|
indent = 4
|
||||||
|
|
||||||
[tool.coverage.run]
|
[tool.coverage.run]
|
||||||
source = [
|
source = [
|
||||||
"cmsmanage",
|
"cmsmanage",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
"doorcontrol",
|
"doorcontrol",
|
||||||
"membershipworks",
|
"membershipworks",
|
||||||
"paperwork",
|
"paperwork",
|
||||||
"rentals",
|
"rentals",
|
||||||
"reservations",
|
"reservations",
|
||||||
]
|
]
|
||||||
omit = [
|
omit = [
|
||||||
"*/migrations/*",
|
"*/migrations/*",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
plugins = [
|
plugins = [
|
||||||
"./cmsmanage/mypy_django_configurations_plugin.py",
|
"./cmsmanage/mypy_django_configurations_plugin.py",
|
||||||
"mypy_django_plugin.main",
|
"mypy_django_plugin.main",
|
||||||
"mypy_drf_plugin.main",
|
"mypy_drf_plugin.main",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.djlint]
|
[tool.djlint]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user