diff --git a/beat/web/settings/__init__.py b/beat/web/settings/__init__.py index 8d221af98ef576e61d5a28e214678a3072f3dde0..90eaa7fff5cfb865b66f3685ff56313e5a555466 100644 --- a/beat/web/settings/__init__.py +++ b/beat/web/settings/__init__.py @@ -28,7 +28,6 @@ import os import platform - SHM_PATH = "/dev/shm/beatweb" # nosec diff --git a/beat/web/settings/ci.py b/beat/web/settings/ci.py index a8db0a93eb347985e766aa0fc103fe53b78bb4e9..f0f9b4b5ea8ff6e6d7f965b8c79f0ca16ff41b8c 100755 --- a/beat/web/settings/ci.py +++ b/beat/web/settings/ci.py @@ -28,9 +28,9 @@ # Django settings for tests on the CI server import os -from .test import * # noqa from . import get_test_db_path from . import get_test_prefix_path +from .test import * # noqa RUNNING_ON_CI = True DATABASES["default"]["OPTIONS"]["timeout"] = 60 # noqa diff --git a/beat/web/settings/nodebug.py b/beat/web/settings/nodebug.py index 2d92b833a372d9d92a12b728ad630b273a0c5f70..c1057b1624f57397d29e8625a036f8f6b69bf65b 100644 --- a/beat/web/settings/nodebug.py +++ b/beat/web/settings/nodebug.py @@ -27,7 +27,7 @@ # Django settings for debugging infrastructure -from .settings import * +from .settings import * # noqa: F403 -DEBUG = False -TEMPLATES[0]['OPTIONS']['debug'] = DEBUG +DEBUG = False +TEMPLATES[0]["OPTIONS"]["debug"] = DEBUG # noqa: F405 diff --git a/beat/web/settings/test.py b/beat/web/settings/test.py index eb03c4d943779dfb415a5d46db319b8265e248fd..43164c4865d5c1ba8f64614025c8664cc668f111 100755 --- a/beat/web/settings/test.py +++ b/beat/web/settings/test.py @@ -28,9 +28,9 @@ # Django settings for tests import os -from .settings import * # noqa from . import get_test_db_path from . import get_test_prefix_path +from .settings import * # noqa URL_PREFIX = ""