Skip to content

Commit

Permalink
Added noqa F405 to undefined STATIC_ROOT - flake8
Browse files Browse the repository at this point in the history
* This is in addition to the PR for compressor support with AWS S3 and Google Cloud buckets
  • Loading branch information
Andrew-Chen-Wang authored Aug 13, 2020
1 parent 1cb2a0c commit 148d6c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
COMPRESS_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
{%- elif cookiecutter.cloud_provider == 'AWS' or cookiecutter.cloud_provider == 'GCP' %}
COMPRESS_STORAGE = STATICFILES_STORAGE
COMPRESS_ROOT = STATIC_ROOT
COMPRESS_ROOT = STATIC_ROOT # noqa F405
{%- elif cookiecutter.cloud_provider == 'None' %}
COMPRESS_STORAGE = "compressor.storage.GzipCompressorFileStorage"
{%- endif %}
Expand Down

0 comments on commit 148d6c2

Please sign in to comment.