@@ -6,9 +6,9 @@ python_files = [
66 " tests.py" ,
77 " test_*.py" ,
88]
9- {%- if cookiecutter.frontend_pipeline == 'Gulp' % }
9+ {%- if cookiecutter.frontend_pipeline == 'Gulp' %}
1010norecursedirs = [" node_modules" ]
11- {%- endif % }
11+ {%- endif %}
1212
1313# ==== Coverage ====
1414[tool .coverage .run ]
@@ -26,9 +26,9 @@ warn_redundant_casts = true
2626warn_unused_configs = true
2727plugins = [
2828 " mypy_django_plugin.main" ,
29- {%- if cookiecutter.use_drf == "y" % }
29+ {%- if cookiecutter.use_drf == "y" %}
3030 "mypy_drf_plugin.main",
31- {%- endif % }
31+ {%- endif %}
3232]
3333
3434[[tool .mypy .overrides ]]
@@ -145,23 +145,23 @@ force-single-line = true
145145dev-dependencies = [
146146 " Werkzeug[watchdog]==3.0.6" , # https://github.com/pallets/werkzeug
147147 " ipdb==0.13.13" , # https://github.com/gotcha/ipdb
148- {%- if cookiecutter.use_docker == 'y' % }
148+ {%- if cookiecutter.use_docker == 'y' %}
149149 "psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg
150- {%- else % }
150+ {%- else %}
151151 "psycopg[binary]==3.2.3", # https://github.com/psycopg/psycopg
152- {%- endif % }
153- {%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' % }
152+ {%- endif %}
153+ {%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
154154 "watchfiles==0.24.0", # https://github.com/samuelcolvin/watchfiles
155- {%- endif % }
155+ {%- endif %}
156156 # Testing
157157 # ------------------------------------------------------------------------------
158158 "mypy==1.11.2", # https://github.com/python/mypy
159159 "django-stubs[compatible-mypy]==5.1.0", # https://github.com/typeddjango/django-stubs
160160 "pytest==8.3.3", # https://github.com/pytest-dev/pytest
161161 "pytest-sugar==1.0.0", # https://github.com/Frozenball/pytest-sugar
162- {%- if cookiecutter.use_drf == "y" % }
162+ {%- if cookiecutter.use_drf == "y" %}
163163 "djangorestframework-stubs==3.15.1", # https://github.com/typeddjango/djangorestframework-stubs
164- {%- endif % }
164+ {%- endif %}
165165 # Documentation
166166 # ------------------------------------------------------------------------------
167167 "sphinx==7.4.7", # https://github.com/sphinx-doc/sphinx
@@ -195,32 +195,32 @@ requires-python = "==3.12.*"
195195dependencies = [
196196 " python-slugify==8.0.4" , # https://github.com/un33k/python-slugify
197197 " Pillow==10.4.0" , # https://github.com/python-pillow/Pillow
198- {%- if cookiecutter.frontend_pipeline == 'Django Compressor' % }
199- {%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' % }
198+ {%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
199+ {%- if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}
200200 "rcssmin==1.1.2", # --install-option="--without-c-extensions" # https://github.com/ndparker/rcssmin
201- {%- else % }
201+ {%- else %}
202202 "rcssmin==1.1.2", # https://github.com/ndparker/rcssmin
203- {%- endif % }
204- {%- endif % }
203+ {%- endif %}
204+ {%- endif %}
205205 "argon2-cffi==23.1.0", # https://github.com/hynek/argon2_cffi
206- {%- if cookiecutter.use_whitenoise == 'y' % }
206+ {%- if cookiecutter.use_whitenoise == 'y' %}
207207 "whitenoise==6.7.0", # https://github.com/evansd/whitenoise
208- {%- endif % }
208+ {%- endif %}
209209 "redis==5.1.1", # https://github.com/redis/redis-py
210- {%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" % }
210+ {%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" %}
211211 "hiredis==3.0.0", # https://github.com/redis/hiredis-py
212- {%- endif % }
213- {%- if cookiecutter.use_celery == "y" % }
212+ {%- endif %}
213+ {%- if cookiecutter.use_celery == "y" %}
214214 "celery==5.4.0", # pyup: < 6.0 # https://github.com/celery/celery
215215 "django-celery-beat==2.7.0", # https://github.com/celery/django-celery-beat
216- {%- if cookiecutter.use_docker == 'y' % }
216+ {%- if cookiecutter.use_docker == 'y' %}
217217 "flower==2.0.1", # https://github.com/mher/flower
218- {%- endif % }
219- {%- endif % }
220- {%- if cookiecutter.use_async == 'y' % }
218+ {%- endif %}
219+ {%- endif %}
220+ {%- if cookiecutter.use_async == 'y' %}
221221 "uvicorn[standard]==0.31.0", # https://github.com/encode/uvicorn
222222 "uvicorn-worker==0.2.0", # https://github.com/Kludex/uvicorn-worker
223- {%- endif % }
223+ {%- endif %}
224224 # Django
225225 # ------------------------------------------------------------------------------
226226 "django==5.0.9", # pyup: < 5.1 # https://www.djangoproject.com/
@@ -229,57 +229,57 @@ dependencies = [
229229 "django-allauth[mfa]==65.0.2", # https://github.com/pennersr/django-allauth
230230 "django-crispy-forms==2.3", # https://github.com/django-crispy-forms/django-crispy-forms
231231 "crispy-bootstrap5==2024.10", # https://github.com/django-crispy-forms/crispy-bootstrap5
232- {%- if cookiecutter.frontend_pipeline == 'Django Compressor' % }
232+ {%- if cookiecutter.frontend_pipeline == 'Django Compressor' %}
233233 "django-compressor==4.5.1", # https://github.com/django-compressor/django-compressor
234- {%- endif % }
234+ {%- endif %}
235235 "django-redis==5.4.0", # https://github.com/jazzband/django-redis
236- {%- if cookiecutter.use_drf == 'y' % }
236+ {%- if cookiecutter.use_drf == 'y' %}
237237 # Django REST Framework
238238 "djangorestframework==3.15.2", # https://github.com/encode/django-rest-framework
239239 "django-cors-headers==4.4.0", # https://github.com/adamchainz/django-cors-headers
240240 # DRF-spectacular for api documentation
241241 "drf-spectacular==0.27.2", # https://github.com/tfranzel/drf-spectacular
242- {%- endif % }
243- {%- if cookiecutter.frontend_pipeline == 'Webpack' % }
242+ {%- endif %}
243+ {%- if cookiecutter.frontend_pipeline == 'Webpack' %}
244244 "django-webpack-loader==3.1.1", # https://github.com/django-webpack/django-webpack-loader
245- {%- endif % }
245+ {%- endif %}
246246 "gunicorn==23.0.0", # https://github.com/benoitc/gunicorn
247247 "psycopg[c]==3.2.3", # https://github.com/psycopg/psycopg
248- {%- if cookiecutter.use_whitenoise == 'n' % }
248+ {%- if cookiecutter.use_whitenoise == 'n' %}
249249 "Collectfasta==3.2.0", # https://github.com/jasongi/collectfasta
250- {%- endif % }
251- {%- if cookiecutter.use_sentry == "y" % }
250+ {%- endif %}
251+ {%- if cookiecutter.use_sentry == "y" %}
252252 "sentry-sdk==2.15.0", # https://github.com/getsentry/sentry-python
253- {%- endif % }
254- {%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" % }
253+ {%- endif %}
254+ {%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
255255 "hiredis==3.0.0", # https://github.com/redis/hiredis-py
256- {%- endif % }
256+ {%- endif %}
257257 # Django
258258 # ------------------------------------------------------------------------------
259- {%- if cookiecutter.cloud_provider == 'AWS' % }
259+ {%- if cookiecutter.cloud_provider == 'AWS' %}
260260 "django-storages[s3]==1.14.4", # https://github.com/jschneier/django-storages
261- {%- elif cookiecutter.cloud_provider == 'GCP' % }
261+ {%- elif cookiecutter.cloud_provider == 'GCP' %}
262262 "django-storages[google]==1.14.4", # https://github.com/jschneier/django-storages
263- {%- elif cookiecutter.cloud_provider == 'Azure' % }
263+ {%- elif cookiecutter.cloud_provider == 'Azure' %}
264264 "django-storages[azure]==1.14.4", # https://github.com/jschneier/django-storages
265- {%- endif % }
266- {%- if cookiecutter.mail_service == 'Mailgun' % }
265+ {%- endif %}
266+ {%- if cookiecutter.mail_service == 'Mailgun' %}
267267 "django-anymail[mailgun]==12.0", # https://github.com/anymail/django-anymail
268- {%- elif cookiecutter.mail_service == 'Amazon SES' % }
268+ {%- elif cookiecutter.mail_service == 'Amazon SES' %}
269269 "django-anymail[amazon-ses]==12.0", # https://github.com/anymail/django-anymail
270- {%- elif cookiecutter.mail_service == 'Mailjet' % }
270+ {%- elif cookiecutter.mail_service == 'Mailjet' %}
271271 "django-anymail[mailjet]==12.0", # https://github.com/anymail/django-anymail
272- {%- elif cookiecutter.mail_service == 'Mandrill' % }
272+ {%- elif cookiecutter.mail_service == 'Mandrill' %}
273273 "django-anymail[mandrill]==12.0", # https://github.com/anymail/django-anymail
274- {%- elif cookiecutter.mail_service == 'Postmark' % }
274+ {%- elif cookiecutter.mail_service == 'Postmark' %}
275275 "django-anymail[postmark]==12.0", # https://github.com/anymail/django-anymail
276- {%- elif cookiecutter.mail_service == 'Sendgrid' % }
276+ {%- elif cookiecutter.mail_service == 'Sendgrid' %}
277277 "django-anymail[sendgrid]==12.0", # https://github.com/anymail/django-anymail
278- {%- elif cookiecutter.mail_service == 'Brevo' % }
278+ {%- elif cookiecutter.mail_service == 'Brevo' %}
279279 "django-anymail[brevo]==12.0", # https://github.com/anymail/django-anymail
280- {%- elif cookiecutter.mail_service == 'SparkPost' % }
280+ {%- elif cookiecutter.mail_service == 'SparkPost' %}
281281 "django-anymail[sparkpost]==12.0", # https://github.com/anymail/django-anymail
282- {%- elif cookiecutter.mail_service == 'Other SMTP' % }
282+ {%- elif cookiecutter.mail_service == 'Other SMTP' %}
283283 "django-anymail==12.0", # https://github.com/anymail/django-anymail
284- {%- endif % }
284+ {%- endif %}
285285]
0 commit comments