Merge pull request #17 from qwerrrqw/ruff/redis-TLS-support

ruff/E402
This commit is contained in:
qwerrrqw 2024-11-21 14:39:36 +09:00 committed by GitHub
commit 283be39169
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,14 @@
# ruff: noqa: ERA001, E501
# ruff: noqa: ERA001, E501, E402
"""Base settings to build other settings files upon."""
from pathlib import Path
import environ
{% if cookiecutter.use_celery == 'y' %}
import ssl
import ssl # noqa: E402
{% endif %}
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent.parent
# {{ cookiecutter.project_slug }}/
APPS_DIR = BASE_DIR / "{{ cookiecutter.project_slug }}"