mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 21:24:32 +03:00
Remove flake noqa exception
This commit is contained in:
parent
56d5e271aa
commit
7e1cb599af
|
@ -1,5 +1,5 @@
|
||||||
{% if cookiecutter.cloud_provider == 'AWS' -%}
|
{% if cookiecutter.cloud_provider == 'AWS' -%}
|
||||||
from storages.backends.s3boto3 import S3Boto3Storage # noqa E402
|
from storages.backends.s3boto3 import S3Boto3Storage
|
||||||
|
|
||||||
|
|
||||||
class StaticRootS3Boto3Storage(S3Boto3Storage):
|
class StaticRootS3Boto3Storage(S3Boto3Storage):
|
||||||
|
@ -11,7 +11,7 @@ class MediaRootS3Boto3Storage(S3Boto3Storage):
|
||||||
location = "media"
|
location = "media"
|
||||||
file_overwrite = False
|
file_overwrite = False
|
||||||
{%- elif cookiecutter.cloud_provider == 'GCP' -%}
|
{%- elif cookiecutter.cloud_provider == 'GCP' -%}
|
||||||
from storages.backends.gcloud import GoogleCloudStorage # noqa E402
|
from storages.backends.gcloud import GoogleCloudStorage
|
||||||
|
|
||||||
|
|
||||||
class StaticRootGoogleCloudStorage(GoogleCloudStorage):
|
class StaticRootGoogleCloudStorage(GoogleCloudStorage):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user