mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 20:50:17 +03:00
ruff/E402
This commit is contained in:
parent
a893259052
commit
bb8090d2c1
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user