Fix closing tag

This commit is contained in:
Jelmer Draaijer 2024-10-26 17:38:19 +02:00
parent 00689b2d1a
commit 557a4f9e84

View File

@ -6,9 +6,9 @@ python_files = [
"tests.py", "tests.py",
"test_*.py", "test_*.py",
] ]
{%- if cookiecutter.frontend_pipeline == 'Gulp' % } {%- if cookiecutter.frontend_pipeline == 'Gulp' %}
norecursedirs = ["node_modules"] norecursedirs = ["node_modules"]
{%- endif % } {%- endif %}
# ==== Coverage ==== # ==== Coverage ====
[tool.coverage.run] [tool.coverage.run]
@ -26,9 +26,9 @@ warn_redundant_casts = true
warn_unused_configs = true warn_unused_configs = true
plugins = [ plugins = [
"mypy_django_plugin.main", "mypy_django_plugin.main",
{%- if cookiecutter.use_drf == "y" % } {%- if cookiecutter.use_drf == "y" %}
"mypy_drf_plugin.main", "mypy_drf_plugin.main",
{%- endif % } {%- endif %}
] ]
[[tool.mypy.overrides]] [[tool.mypy.overrides]]
@ -145,23 +145,23 @@ force-single-line = true
dev-dependencies = [ dev-dependencies = [
"Werkzeug[watchdog]==3.0.6", # https://github.com/pallets/werkzeug "Werkzeug[watchdog]==3.0.6", # https://github.com/pallets/werkzeug
"ipdb==0.13.13", # https://github.com/gotcha/ipdb "ipdb==0.13.13", # https://github.com/gotcha/ipdb
{%- if cookiecutter.use_docker == 'y' % } {%- if cookiecutter.use_docker == 'y' %}
"psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg "psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg
{%- else % } {%- else %}
"psycopg[binary]==3.2.3", # https://github.com/psycopg/psycopg "psycopg[binary]==3.2.3", # https://github.com/psycopg/psycopg
{%- endif % } {%- endif %}
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' % } {%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
"watchfiles==0.24.0", # https://github.com/samuelcolvin/watchfiles "watchfiles==0.24.0", # https://github.com/samuelcolvin/watchfiles
{%- endif % } {%- endif %}
# Testing # Testing
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
"mypy==1.11.2", # https://github.com/python/mypy "mypy==1.11.2", # https://github.com/python/mypy
"django-stubs[compatible-mypy]==5.1.0", # https://github.com/typeddjango/django-stubs "django-stubs[compatible-mypy]==5.1.0", # https://github.com/typeddjango/django-stubs
"pytest==8.3.3", # https://github.com/pytest-dev/pytest "pytest==8.3.3", # https://github.com/pytest-dev/pytest
"pytest-sugar==1.0.0", # https://github.com/Frozenball/pytest-sugar "pytest-sugar==1.0.0", # https://github.com/Frozenball/pytest-sugar
{%- if cookiecutter.use_drf == "y" % } {%- if cookiecutter.use_drf == "y" %}
"djangorestframework-stubs==3.15.1", # https://github.com/typeddjango/djangorestframework-stubs "djangorestframework-stubs==3.15.1", # https://github.com/typeddjango/djangorestframework-stubs
{%- endif % } {%- endif %}
# Documentation # Documentation
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
"sphinx==7.4.7", # https://github.com/sphinx-doc/sphinx "sphinx==7.4.7", # https://github.com/sphinx-doc/sphinx
@ -195,32 +195,32 @@ requires-python = "==3.12.*"
dependencies = [ dependencies = [
"python-slugify==8.0.4", # https://github.com/un33k/python-slugify "python-slugify==8.0.4", # https://github.com/un33k/python-slugify
"Pillow==10.4.0", # https://github.com/python-pillow/Pillow "Pillow==10.4.0", # https://github.com/python-pillow/Pillow
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' % } {%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
{%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' % } {%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}
"rcssmin==1.1.2", # --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin "rcssmin==1.1.2", # --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin
{%- else % } {%- else %}
"rcssmin==1.1.2", # https://github.com/ndparker/rcssmin "rcssmin==1.1.2", # https://github.com/ndparker/rcssmin
{%- endif % } {%- endif %}
{%- endif % } {%- endif %}
"argon2-cffi==23.1.0", # https://github.com/hynek/argon2_cffi "argon2-cffi==23.1.0", # https://github.com/hynek/argon2_cffi
{%- if cookiecutter.use_whitenoise == 'y' % } {%- if cookiecutter.use_whitenoise == 'y' %}
"whitenoise==6.7.0", # https://github.com/evansd/whitenoise "whitenoise==6.7.0", # https://github.com/evansd/whitenoise
{%- endif % } {%- endif %}
"redis==5.1.1", # https://github.com/redis/redis-py "redis==5.1.1", # https://github.com/redis/redis-py
{%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" % } {%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" %}
"hiredis==3.0.0", # https://github.com/redis/hiredis-py "hiredis==3.0.0", # https://github.com/redis/hiredis-py
{%- endif % } {%- endif %}
{%- if cookiecutter.use_celery == "y" % } {%- if cookiecutter.use_celery == "y" %}
"celery==5.4.0", # pyup: < 6.0 # https://github.com/celery/celery "celery==5.4.0", # pyup: < 6.0 # https://github.com/celery/celery
"django-celery-beat==2.7.0", # https://github.com/celery/django-celery-beat "django-celery-beat==2.7.0", # https://github.com/celery/django-celery-beat
{%- if cookiecutter.use_docker == 'y' % } {%- if cookiecutter.use_docker == 'y' %}
"flower==2.0.1", # https://github.com/mher/flower "flower==2.0.1", # https://github.com/mher/flower
{%- endif % } {%- endif %}
{%- endif % } {%- endif %}
{%- if cookiecutter.use_async == 'y' % } {%- if cookiecutter.use_async == 'y' %}
"uvicorn[standard]==0.31.0", # https://github.com/encode/uvicorn "uvicorn[standard]==0.31.0", # https://github.com/encode/uvicorn
"uvicorn-worker==0.2.0", # https://github.com/Kludex/uvicorn-worker "uvicorn-worker==0.2.0", # https://github.com/Kludex/uvicorn-worker
{%- endif % } {%- endif %}
# Django # Django
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
"django==5.0.9", # pyup: < 5.1 # https://www.djangoproject.com/ "django==5.0.9", # pyup: < 5.1 # https://www.djangoproject.com/
@ -229,57 +229,57 @@ dependencies = [
"django-allauth[mfa]==65.0.2", # https://github.com/pennersr/django-allauth "django-allauth[mfa]==65.0.2", # https://github.com/pennersr/django-allauth
"django-crispy-forms==2.3", # https://github.com/django-crispy-forms/django-crispy-forms "django-crispy-forms==2.3", # https://github.com/django-crispy-forms/django-crispy-forms
"crispy-bootstrap5==2024.10", # https://github.com/django-crispy-forms/crispy-bootstrap5 "crispy-bootstrap5==2024.10", # https://github.com/django-crispy-forms/crispy-bootstrap5
{%- if cookiecutter.frontend_pipeline == 'Django Compressor' % } {%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
"django-compressor==4.5.1", # https://github.com/django-compressor/django-compressor "django-compressor==4.5.1", # https://github.com/django-compressor/django-compressor
{%- endif % } {%- endif %}
"django-redis==5.4.0", # https://github.com/jazzband/django-redis "django-redis==5.4.0", # https://github.com/jazzband/django-redis
{%- if cookiecutter.use_drf == 'y' % } {%- if cookiecutter.use_drf == 'y' %}
# Django REST Framework # Django REST Framework
"djangorestframework==3.15.2", # https://github.com/encode/django-rest-framework "djangorestframework==3.15.2", # https://github.com/encode/django-rest-framework
"django-cors-headers==4.4.0", # https://github.com/adamchainz/django-cors-headers "django-cors-headers==4.4.0", # https://github.com/adamchainz/django-cors-headers
# DRF-spectacular for api documentation # DRF-spectacular for api documentation
"drf-spectacular==0.27.2", # https://github.com/tfranzel/drf-spectacular "drf-spectacular==0.27.2", # https://github.com/tfranzel/drf-spectacular
{%- endif % } {%- endif %}
{%- if cookiecutter.frontend_pipeline == 'Webpack' % } {%- if cookiecutter.frontend_pipeline == 'Webpack' %}
"django-webpack-loader==3.1.1", # https://github.com/django-webpack/django-webpack-loader "django-webpack-loader==3.1.1", # https://github.com/django-webpack/django-webpack-loader
{%- endif % } {%- endif %}
"gunicorn==23.0.0", # https://github.com/benoitc/gunicorn "gunicorn==23.0.0", # https://github.com/benoitc/gunicorn
"psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg "psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg
{%- if cookiecutter.use_whitenoise == 'n' % } {%- if cookiecutter.use_whitenoise == 'n' %}
"Collectfasta==3.2.0", # https://github.com/jasongi/collectfasta "Collectfasta==3.2.0", # https://github.com/jasongi/collectfasta
{%- endif % } {%- endif %}
{%- if cookiecutter.use_sentry == "y" % } {%- if cookiecutter.use_sentry == "y" %}
"sentry-sdk==2.15.0", # https://github.com/getsentry/sentry-python "sentry-sdk==2.15.0", # https://github.com/getsentry/sentry-python
{%- endif % } {%- endif %}
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" % } {%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
"hiredis==3.0.0", # https://github.com/redis/hiredis-py "hiredis==3.0.0", # https://github.com/redis/hiredis-py
{%- endif % } {%- endif %}
# Django # Django
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
{%- if cookiecutter.cloud_provider == 'AWS' % } {%- if cookiecutter.cloud_provider == 'AWS' %}
"django-storages[s3]==1.14.4", # https://github.com/jschneier/django-storages "django-storages[s3]==1.14.4", # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'GCP' % } {%- elif cookiecutter.cloud_provider == 'GCP' %}
"django-storages[google]==1.14.4", # https://github.com/jschneier/django-storages "django-storages[google]==1.14.4", # https://github.com/jschneier/django-storages
{%- elif cookiecutter.cloud_provider == 'Azure' % } {%- elif cookiecutter.cloud_provider == 'Azure' %}
"django-storages[azure]==1.14.4", # https://github.com/jschneier/django-storages "django-storages[azure]==1.14.4", # https://github.com/jschneier/django-storages
{%- endif % } {%- endif %}
{%- if cookiecutter.mail_service == 'Mailgun' % } {%- if cookiecutter.mail_service == 'Mailgun' %}
"django-anymail[mailgun]==12.0", # https://github.com/anymail/django-anymail "django-anymail[mailgun]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Amazon SES' % } {%- elif cookiecutter.mail_service == 'Amazon SES' %}
"django-anymail[amazon-ses]==12.0", # https://github.com/anymail/django-anymail "django-anymail[amazon-ses]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mailjet' % } {%- elif cookiecutter.mail_service == 'Mailjet' %}
"django-anymail[mailjet]==12.0", # https://github.com/anymail/django-anymail "django-anymail[mailjet]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Mandrill' % } {%- elif cookiecutter.mail_service == 'Mandrill' %}
"django-anymail[mandrill]==12.0", # https://github.com/anymail/django-anymail "django-anymail[mandrill]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Postmark' % } {%- elif cookiecutter.mail_service == 'Postmark' %}
"django-anymail[postmark]==12.0", # https://github.com/anymail/django-anymail "django-anymail[postmark]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Sendgrid' % } {%- elif cookiecutter.mail_service == 'Sendgrid' %}
"django-anymail[sendgrid]==12.0", # https://github.com/anymail/django-anymail "django-anymail[sendgrid]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Brevo' % } {%- elif cookiecutter.mail_service == 'Brevo' %}
"django-anymail[brevo]==12.0", # https://github.com/anymail/django-anymail "django-anymail[brevo]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'SparkPost' % } {%- elif cookiecutter.mail_service == 'SparkPost' %}
"django-anymail[sparkpost]==12.0", # https://github.com/anymail/django-anymail "django-anymail[sparkpost]==12.0", # https://github.com/anymail/django-anymail
{%- elif cookiecutter.mail_service == 'Other SMTP' % } {%- elif cookiecutter.mail_service == 'Other SMTP' %}
"django-anymail==12.0", # https://github.com/anymail/django-anymail "django-anymail==12.0", # https://github.com/anymail/django-anymail
{%- endif % } {%- endif %}
] ]