ruff/E402

This commit is contained in:
qwerrrqw 2024-11-21 14:39:04 +09:00
parent a893259052
commit bb8090d2c1

View File

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