From c0c74102759989017edfa66386658d71cb2aafd1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 22:06:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/report_nightly_build_failure.py | 1 + src/wagtailmedia/settings.py | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/report_nightly_build_failure.py b/.github/report_nightly_build_failure.py index 86392b8..8d2cb9d 100644 --- a/.github/report_nightly_build_failure.py +++ b/.github/report_nightly_build_failure.py @@ -3,6 +3,7 @@ This reports an error to the #nightly-build-failures Slack channel. """ + import os import requests diff --git a/src/wagtailmedia/settings.py b/src/wagtailmedia/settings.py index edfc2c0..e69bfff 100644 --- a/src/wagtailmedia/settings.py +++ b/src/wagtailmedia/settings.py @@ -8,6 +8,7 @@ This module provides the `wagtailmedia_settings` object, that is used to access the settings. It checks for user settings first, with fallback to defaults. """ + import warnings from django.conf import settings