mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[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 097e3a70c1 from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
8a7b22d4a6
commit
80aae83439
@@ -3,7 +3,6 @@ from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = []
|
||||
|
||||
operations = [
|
||||
|
||||
@@ -3,7 +3,6 @@ from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("postgres_tests", "0001_initial"),
|
||||
]
|
||||
|
||||
@@ -3,7 +3,6 @@ from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = []
|
||||
|
||||
operations = [
|
||||
|
||||
@@ -31,7 +31,6 @@ else:
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
operations = [
|
||||
BloomExtension(),
|
||||
BtreeGinExtension(),
|
||||
|
||||
@@ -18,7 +18,6 @@ from ..models import TagField
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("postgres_tests", "0001_setup_extensions"),
|
||||
]
|
||||
|
||||
@@ -864,7 +864,6 @@ class TestChecks(PostgreSQLSimpleTestCase):
|
||||
|
||||
@unittest.skipUnless(connection.vendor == "postgresql", "PostgreSQL specific tests")
|
||||
class TestMigrations(TransactionTestCase):
|
||||
|
||||
available_apps = ["postgres_tests"]
|
||||
|
||||
def test_deconstruct(self):
|
||||
|
||||
@@ -5,7 +5,6 @@ from .models import CharFieldModel, TextFieldModel
|
||||
|
||||
|
||||
class UnaccentTest(PostgreSQLTestCase):
|
||||
|
||||
Model = CharFieldModel
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user