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