summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:37:29 +0100
commit80aae8343939e849100db87b1c9615f32b38ea0b (patch)
tree266b80026685000c0fff56a677e0f4973e1699cc /tests/admin_scripts
parent8a7b22d4a623bcd95190d2f5a958472fb41e576d (diff)
[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/another_app_waiting_migration/migrations/0001_initial.py1
-rw-r--r--tests/admin_scripts/app_waiting_migration/migrations/0001_initial.py1
-rw-r--r--tests/admin_scripts/management/commands/suppress_base_options_command.py1
-rw-r--r--tests/admin_scripts/tests.py1
4 files changed, 0 insertions, 4 deletions
diff --git a/tests/admin_scripts/another_app_waiting_migration/migrations/0001_initial.py b/tests/admin_scripts/another_app_waiting_migration/migrations/0001_initial.py
index fc3acf7f5a..38ecc948e4 100644
--- a/tests/admin_scripts/another_app_waiting_migration/migrations/0001_initial.py
+++ b/tests/admin_scripts/another_app_waiting_migration/migrations/0001_initial.py
@@ -2,7 +2,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
-
initial = True
dependencies = []
diff --git a/tests/admin_scripts/app_waiting_migration/migrations/0001_initial.py b/tests/admin_scripts/app_waiting_migration/migrations/0001_initial.py
index 7de6e2001b..2f9819dbb1 100644
--- a/tests/admin_scripts/app_waiting_migration/migrations/0001_initial.py
+++ b/tests/admin_scripts/app_waiting_migration/migrations/0001_initial.py
@@ -2,7 +2,6 @@ from django.db import migrations, models
class Migration(migrations.Migration):
-
initial = True
dependencies = []
diff --git a/tests/admin_scripts/management/commands/suppress_base_options_command.py b/tests/admin_scripts/management/commands/suppress_base_options_command.py
index 24df0f4dd7..4ef386dbbd 100644
--- a/tests/admin_scripts/management/commands/suppress_base_options_command.py
+++ b/tests/admin_scripts/management/commands/suppress_base_options_command.py
@@ -2,7 +2,6 @@ from django.core.management import BaseCommand
class Command(BaseCommand):
-
help = "Test suppress base options command."
requires_system_checks = []
suppressed_base_arguments = {
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 4149a31e21..cfb7f21b95 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -2378,7 +2378,6 @@ class ExecuteFromCommandLine(SimpleTestCase):
@override_settings(ROOT_URLCONF="admin_scripts.urls")
class StartProject(LiveServerTestCase, AdminScriptTestCase):
-
available_apps = [
"admin_scripts",
"django.contrib.auth",