diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51948868..04738547 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,4 +43,3 @@ repos: hooks: - id: mypy args: [--no-strict-optional, --ignore-missing-imports] - diff --git a/project/core/settings.py b/project/core/settings.py index c7274c36..a8412e3e 100644 --- a/project/core/settings.py +++ b/project/core/settings.py @@ -5,6 +5,9 @@ Production settings file to select proper environment variables. """ import os +import warnings + +warnings.simplefilter("ignore", category=DeprecationWarning) # False if not in os.environ DEBUG = os.getenv("DEBUG", False)