summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2026-01-18 21:26:56 +0100
committerGitHub <noreply@github.com>2026-01-18 21:26:56 +0100
commit6cff02078799b7c683a0d39630d49ab4fe532e7c (patch)
tree9813fc94d952942117b23d61231b9e89a8cab1c2 /django/core
parent0d31ca98830542088299d2078402891d08cc3a65 (diff)
Applied Black's 2026 stable style.
https://github.com/psf/black/releases/tag/26.1.0
Diffstat (limited to 'django/core')
-rw-r--r--django/core/checks/__init__.py1
-rw-r--r--django/core/management/commands/flush.py7
2 files changed, 2 insertions, 6 deletions
diff --git a/django/core/checks/__init__.py b/django/core/checks/__init__.py
index 2502450cdf..faca2a337d 100644
--- a/django/core/checks/__init__.py
+++ b/django/core/checks/__init__.py
@@ -28,7 +28,6 @@ import django.core.checks.templates # NOQA isort:skip
import django.core.checks.translation # NOQA isort:skip
import django.core.checks.urls # NOQA isort:skip
-
__all__ = [
"CheckMessage",
"Debug",
diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py
index ff7ee45557..7eb6a4b157 100644
--- a/django/core/management/commands/flush.py
+++ b/django/core/management/commands/flush.py
@@ -57,15 +57,12 @@ class Command(BaseCommand):
)
if interactive:
- confirm = input(
- """You have requested a flush of the database.
+ confirm = input("""You have requested a flush of the database.
This will IRREVERSIBLY DESTROY all data currently in the "%s" database,
and return each table to an empty state.
Are you sure you want to do this?
- Type 'yes' to continue, or 'no' to cancel: """
- % connection.settings_dict["NAME"]
- )
+ Type 'yes' to continue, or 'no' to cancel: """ % connection.settings_dict["NAME"])
else:
confirm = "yes"