From c283a0a2be4d4432c3a6227fe89e009164a6b7c5 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:14:58 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20`black`=20and?= =?UTF-8?q?=20`isort`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements/base.txt | 6 ++---- requirements/ci.txt | 8 ++------ requirements/dev.txt | 31 ++++++++++++++----------------- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 1a87c637..c75e8312 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -173,7 +173,7 @@ mozilla-django-oidc==1.2.4 # via mozilla-django-oidc-db oyaml==1.0 # via vng-api-common -packaging==20.9 +packaging==23.2 # via drf-yasg phonenumbers==8.12.29 # via maykin-django-two-factor-auth @@ -193,8 +193,6 @@ pyjwt==2.4.0 # vng-api-common pyopenssl==20.0.1 # via josepy -pyparsing==2.4.7 - # via packaging pyrsistent==0.17.3 # via jsonschema python-dateutil==2.8.1 @@ -253,7 +251,7 @@ sqlparse==0.4.2 # via django text-unidecode==1.3 # via faker -typing-extensions==3.10.0.2 +typing-extensions==4.7.1 # via importlib-metadata unidecode==1.2.0 # via vng-api-common diff --git a/requirements/ci.txt b/requirements/ci.txt index c5a84eb3..f5c8fa80 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -259,7 +259,7 @@ oyaml==1.0 # via # -r requirements/base.txt # vng-api-common -packaging==20.9 +packaging==23.2 # via # -r requirements/base.txt # drf-yasg @@ -290,10 +290,6 @@ pyopenssl==20.0.1 # via # -r requirements/base.txt # josepy -pyparsing==2.4.7 - # via - # -r requirements/base.txt - # packaging pyquery==1.4.3 # via -r requirements/test-tools.in pyrsistent==0.17.3 @@ -381,7 +377,7 @@ text-unidecode==1.3 # via # -r requirements/base.txt # faker -typing-extensions==3.10.0.2 +typing-extensions==4.7.1 # via # -r requirements/base.txt # importlib-metadata diff --git a/requirements/dev.txt b/requirements/dev.txt index 5eb5cd29..94c5f487 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -6,8 +6,6 @@ # alabaster==0.7.12 # via sphinx -appdirs==1.4.4 - # via black attrs==20.3.0 # via # -r requirements/ci.txt @@ -19,7 +17,7 @@ beautifulsoup4==4.9.3 # via # -r requirements/ci.txt # webtest -black==20.8b1 +black==23.3.0 # via -r requirements/dev.in boltons==21.0.0 # via @@ -44,7 +42,7 @@ chardet==4.0.0 # via # -r requirements/ci.txt # requests -click==7.1.2 +click==8.1.7 # via # black # pip-tools @@ -243,6 +241,7 @@ imagesize==1.2.0 importlib-metadata==4.8.1 # via # -r requirements/ci.txt + # click # flake8 # jsonschema # markdown @@ -260,7 +259,7 @@ isodate==0.6.0 # via # -r requirements/ci.txt # vng-api-common -isort==5.8.0 +isort==5.11.5 # via -r requirements/dev.in itypes==1.2.0 # via @@ -307,12 +306,13 @@ oyaml==1.0 # via # -r requirements/ci.txt # vng-api-common -packaging==20.9 +packaging==23.2 # via # -r requirements/ci.txt + # black # drf-yasg # sphinx -pathspec==0.8.1 +pathspec==0.11.2 # via black pep517==0.10.0 # via pip-tools @@ -324,6 +324,8 @@ pillow==9.0.1 # via -r requirements/ci.txt pip-tools==6.0.1 # via -r requirements/dev.in +platformdirs==4.0.0 + # via black polib==1.1.1 # via # -r requirements/ci.txt @@ -353,10 +355,6 @@ pyopenssl==20.0.1 # via # -r requirements/ci.txt # josepy -pyparsing==2.4.7 - # via - # -r requirements/ci.txt - # packaging pyquery==1.4.3 # via -r requirements/ci.txt pyrsistent==0.17.3 @@ -395,8 +393,6 @@ redis==3.5.3 # via # -r requirements/ci.txt # django-redis -regex==2021.4.4 - # via black requests-mock==1.8.0 # via # -r requirements/ci.txt @@ -477,16 +473,17 @@ text-unidecode==1.3 # -r requirements/ci.txt # faker toml==0.10.2 - # via - # black - # pep517 + # via pep517 +tomli==2.0.1 + # via black typed-ast==1.4.3 # via black -typing-extensions==3.10.0.2 +typing-extensions==4.7.1 # via # -r requirements/ci.txt # black # importlib-metadata + # platformdirs unidecode==1.2.0 # via # -r requirements/ci.txt From de05ba4ccf2c9a3c929705cee6f517bf74361a2c Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:15:24 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=8E=A8=20Format=20code=20after=20`bla?= =?UTF-8?q?ck`=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/objects/accounts/migrations/0001_initial.py | 1 - src/objects/accounts/migrations/0002_auto_20201012_1522.py | 1 - src/objects/accounts/migrations/0003_auto_20201223_1231.py | 1 - src/objects/api/validators.py | 1 - src/objects/core/migrations/0001_initial.py | 1 - src/objects/core/migrations/0002_auto_20200518_1707.py | 1 - src/objects/core/migrations/0003_objectrecord.py | 1 - src/objects/core/migrations/0004_move_data_to_record.py | 1 - src/objects/core/migrations/0005_remove_object_data.py | 1 - src/objects/core/migrations/0006_auto_20200904_1402.py | 1 - src/objects/core/migrations/0007_auto_20200904_1403.py | 1 - src/objects/core/migrations/0008_objectrecord_correct.py | 1 - src/objects/core/migrations/0009_objectrecord_version.py | 1 - src/objects/core/migrations/0010_move_version_to_record.py | 1 - src/objects/core/migrations/0011_remove_object_version.py | 1 - src/objects/core/migrations/0012_objectrecord_uuid.py | 1 - src/objects/core/migrations/0013_generate_record_uuids.py | 1 - src/objects/core/migrations/0014_auto_20200915_1740.py | 1 - src/objects/core/migrations/0015_objectrecord_geometry.py | 1 - src/objects/core/migrations/0016_auto_20210111_1649.py | 1 - src/objects/core/migrations/0017_auto_20210111_1653.py | 1 - src/objects/core/migrations/0018_auto_20210113_1239.py | 1 - src/objects/core/migrations/0019_fill_record_index.py | 1 - src/objects/core/migrations/0020_auto_20210118_1117.py | 1 - src/objects/core/migrations/0021_auto_20201222_1745.py | 1 - .../core/migrations/0022_move_object_types_to_separate_model.py | 1 - src/objects/core/migrations/0023_remove_object_object_type.py | 1 - src/objects/core/migrations/0024_auto_20201222_1811.py | 1 - .../migrations/0025_delete_objects_with_empty_object_type.py | 1 - src/objects/core/migrations/0026_auto_20201222_1833.py | 1 - src/objects/core/migrations/0027_auto_20211203_1209.py | 1 - src/objects/core/utils.py | 1 - src/objects/tests/test_merge_patch.py | 1 - src/objects/token/migrations/0001_initial.py | 1 - src/objects/token/migrations/0002_auto_20201223_1231.py | 1 - src/objects/token/migrations/0003_auto_20210312_1507.py | 1 - src/objects/token/migrations/0004_auto_20210315_1537.py | 1 - src/objects/token/migrations/0005_auto_20210623_1242.py | 1 - src/objects/token/migrations/0006_auto_20210721_1543.py | 1 - src/objects/token/migrations/0007_remove_permission_fields.py | 1 - src/objects/token/migrations/0008_permission_fields.py | 1 - src/objects/utils/migration_operations.py | 1 - 42 files changed, 42 deletions(-) diff --git a/src/objects/accounts/migrations/0001_initial.py b/src/objects/accounts/migrations/0001_initial.py index a52df171..81d040b9 100644 --- a/src/objects/accounts/migrations/0001_initial.py +++ b/src/objects/accounts/migrations/0001_initial.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/src/objects/accounts/migrations/0002_auto_20201012_1522.py b/src/objects/accounts/migrations/0002_auto_20201012_1522.py index c5d0129c..d0143243 100644 --- a/src/objects/accounts/migrations/0002_auto_20201012_1522.py +++ b/src/objects/accounts/migrations/0002_auto_20201012_1522.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0001_initial"), ] diff --git a/src/objects/accounts/migrations/0003_auto_20201223_1231.py b/src/objects/accounts/migrations/0003_auto_20201223_1231.py index 1f25cccf..c9964d50 100644 --- a/src/objects/accounts/migrations/0003_auto_20201223_1231.py +++ b/src/objects/accounts/migrations/0003_auto_20201223_1231.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0002_auto_20201012_1522"), ] diff --git a/src/objects/api/validators.py b/src/objects/api/validators.py index b54859b6..a1f44ab7 100644 --- a/src/objects/api/validators.py +++ b/src/objects/api/validators.py @@ -116,7 +116,6 @@ def __call__(self, attrs): try: response = client.retrieve("objecttype", url=object_type.url) except ClientError as exc: - msg = f"Object type can not be retrieved: {exc.args[0]}" raise ValidationError(msg) diff --git a/src/objects/core/migrations/0001_initial.py b/src/objects/core/migrations/0001_initial.py index 9d5d1d7e..dd093ccf 100644 --- a/src/objects/core/migrations/0001_initial.py +++ b/src/objects/core/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/src/objects/core/migrations/0002_auto_20200518_1707.py b/src/objects/core/migrations/0002_auto_20200518_1707.py index 2cd939d0..51423efc 100644 --- a/src/objects/core/migrations/0002_auto_20200518_1707.py +++ b/src/objects/core/migrations/0002_auto_20200518_1707.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0001_initial"), ] diff --git a/src/objects/core/migrations/0003_objectrecord.py b/src/objects/core/migrations/0003_objectrecord.py index 547aff24..7093cc35 100644 --- a/src/objects/core/migrations/0003_objectrecord.py +++ b/src/objects/core/migrations/0003_objectrecord.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0002_auto_20200518_1707"), ] diff --git a/src/objects/core/migrations/0004_move_data_to_record.py b/src/objects/core/migrations/0004_move_data_to_record.py index 73346b77..86f38237 100644 --- a/src/objects/core/migrations/0004_move_data_to_record.py +++ b/src/objects/core/migrations/0004_move_data_to_record.py @@ -22,7 +22,6 @@ def move_data_from_record(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0003_objectrecord"), ] diff --git a/src/objects/core/migrations/0005_remove_object_data.py b/src/objects/core/migrations/0005_remove_object_data.py index c8b5c02f..e4394895 100644 --- a/src/objects/core/migrations/0005_remove_object_data.py +++ b/src/objects/core/migrations/0005_remove_object_data.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0004_move_data_to_record"), ] diff --git a/src/objects/core/migrations/0006_auto_20200904_1402.py b/src/objects/core/migrations/0006_auto_20200904_1402.py index 827feb3c..076d8cb4 100644 --- a/src/objects/core/migrations/0006_auto_20200904_1402.py +++ b/src/objects/core/migrations/0006_auto_20200904_1402.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0005_remove_object_data"), ] diff --git a/src/objects/core/migrations/0007_auto_20200904_1403.py b/src/objects/core/migrations/0007_auto_20200904_1403.py index ec1abae2..8b49d5c2 100644 --- a/src/objects/core/migrations/0007_auto_20200904_1403.py +++ b/src/objects/core/migrations/0007_auto_20200904_1403.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0006_auto_20200904_1402"), ] diff --git a/src/objects/core/migrations/0008_objectrecord_correct.py b/src/objects/core/migrations/0008_objectrecord_correct.py index 988a7c87..32d4ece2 100644 --- a/src/objects/core/migrations/0008_objectrecord_correct.py +++ b/src/objects/core/migrations/0008_objectrecord_correct.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0007_auto_20200904_1403"), ] diff --git a/src/objects/core/migrations/0009_objectrecord_version.py b/src/objects/core/migrations/0009_objectrecord_version.py index d0d92625..1a5de1ef 100644 --- a/src/objects/core/migrations/0009_objectrecord_version.py +++ b/src/objects/core/migrations/0009_objectrecord_version.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0008_objectrecord_correct"), ] diff --git a/src/objects/core/migrations/0010_move_version_to_record.py b/src/objects/core/migrations/0010_move_version_to_record.py index f29c6e04..ad07bec6 100644 --- a/src/objects/core/migrations/0010_move_version_to_record.py +++ b/src/objects/core/migrations/0010_move_version_to_record.py @@ -19,7 +19,6 @@ def move_version_from_record(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0009_objectrecord_version"), ] diff --git a/src/objects/core/migrations/0011_remove_object_version.py b/src/objects/core/migrations/0011_remove_object_version.py index 47bbd2df..c851dc6e 100644 --- a/src/objects/core/migrations/0011_remove_object_version.py +++ b/src/objects/core/migrations/0011_remove_object_version.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0010_move_version_to_record"), ] diff --git a/src/objects/core/migrations/0012_objectrecord_uuid.py b/src/objects/core/migrations/0012_objectrecord_uuid.py index 2931f6d8..25da3346 100644 --- a/src/objects/core/migrations/0012_objectrecord_uuid.py +++ b/src/objects/core/migrations/0012_objectrecord_uuid.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0011_remove_object_version"), ] diff --git a/src/objects/core/migrations/0013_generate_record_uuids.py b/src/objects/core/migrations/0013_generate_record_uuids.py index 04263208..5296b18b 100644 --- a/src/objects/core/migrations/0013_generate_record_uuids.py +++ b/src/objects/core/migrations/0013_generate_record_uuids.py @@ -11,7 +11,6 @@ def generate_record_uuids(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0012_objectrecord_uuid"), ] diff --git a/src/objects/core/migrations/0014_auto_20200915_1740.py b/src/objects/core/migrations/0014_auto_20200915_1740.py index 1e0afa73..079f8bff 100644 --- a/src/objects/core/migrations/0014_auto_20200915_1740.py +++ b/src/objects/core/migrations/0014_auto_20200915_1740.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0013_generate_record_uuids"), ] diff --git a/src/objects/core/migrations/0015_objectrecord_geometry.py b/src/objects/core/migrations/0015_objectrecord_geometry.py index bd4dc1c2..505a234f 100644 --- a/src/objects/core/migrations/0015_objectrecord_geometry.py +++ b/src/objects/core/migrations/0015_objectrecord_geometry.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0014_auto_20200915_1740"), ] diff --git a/src/objects/core/migrations/0016_auto_20210111_1649.py b/src/objects/core/migrations/0016_auto_20210111_1649.py index a5e4b4a5..64431059 100644 --- a/src/objects/core/migrations/0016_auto_20210111_1649.py +++ b/src/objects/core/migrations/0016_auto_20210111_1649.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0015_objectrecord_geometry"), ] diff --git a/src/objects/core/migrations/0017_auto_20210111_1653.py b/src/objects/core/migrations/0017_auto_20210111_1653.py index d43b3581..48f4062b 100644 --- a/src/objects/core/migrations/0017_auto_20210111_1653.py +++ b/src/objects/core/migrations/0017_auto_20210111_1653.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0016_auto_20210111_1649"), ] diff --git a/src/objects/core/migrations/0018_auto_20210113_1239.py b/src/objects/core/migrations/0018_auto_20210113_1239.py index 566c5a62..61937575 100644 --- a/src/objects/core/migrations/0018_auto_20210113_1239.py +++ b/src/objects/core/migrations/0018_auto_20210113_1239.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0017_auto_20210111_1653"), ] diff --git a/src/objects/core/migrations/0019_fill_record_index.py b/src/objects/core/migrations/0019_fill_record_index.py index 059a9604..8823d303 100644 --- a/src/objects/core/migrations/0019_fill_record_index.py +++ b/src/objects/core/migrations/0019_fill_record_index.py @@ -22,7 +22,6 @@ def fill_record_index(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0018_auto_20210113_1239"), ] diff --git a/src/objects/core/migrations/0020_auto_20210118_1117.py b/src/objects/core/migrations/0020_auto_20210118_1117.py index b54d7677..12b2cd4f 100644 --- a/src/objects/core/migrations/0020_auto_20210118_1117.py +++ b/src/objects/core/migrations/0020_auto_20210118_1117.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0019_fill_record_index"), ] diff --git a/src/objects/core/migrations/0021_auto_20201222_1745.py b/src/objects/core/migrations/0021_auto_20201222_1745.py index 21b3edad..5638ada9 100644 --- a/src/objects/core/migrations/0021_auto_20201222_1745.py +++ b/src/objects/core/migrations/0021_auto_20201222_1745.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("zgw_consumers", "0011_remove_service_extra"), ("core", "0020_auto_20210118_1117"), diff --git a/src/objects/core/migrations/0022_move_object_types_to_separate_model.py b/src/objects/core/migrations/0022_move_object_types_to_separate_model.py index a5f2e5c8..030504c3 100644 --- a/src/objects/core/migrations/0022_move_object_types_to_separate_model.py +++ b/src/objects/core/migrations/0022_move_object_types_to_separate_model.py @@ -68,7 +68,6 @@ def move_objecttypes_from_model(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0021_auto_20201222_1745"), ("zgw_consumers", "0011_remove_service_extra"), diff --git a/src/objects/core/migrations/0023_remove_object_object_type.py b/src/objects/core/migrations/0023_remove_object_object_type.py index 68a16dc8..e03dbf69 100644 --- a/src/objects/core/migrations/0023_remove_object_object_type.py +++ b/src/objects/core/migrations/0023_remove_object_object_type.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0022_move_object_types_to_separate_model"), ] diff --git a/src/objects/core/migrations/0024_auto_20201222_1811.py b/src/objects/core/migrations/0024_auto_20201222_1811.py index 2247ae8d..3485dad7 100644 --- a/src/objects/core/migrations/0024_auto_20201222_1811.py +++ b/src/objects/core/migrations/0024_auto_20201222_1811.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0023_remove_object_object_type"), ] diff --git a/src/objects/core/migrations/0025_delete_objects_with_empty_object_type.py b/src/objects/core/migrations/0025_delete_objects_with_empty_object_type.py index 149a867b..9a16a265 100644 --- a/src/objects/core/migrations/0025_delete_objects_with_empty_object_type.py +++ b/src/objects/core/migrations/0025_delete_objects_with_empty_object_type.py @@ -8,7 +8,6 @@ def remove_objects_with_empty_object_type(apps, _): class Migration(migrations.Migration): - dependencies = [ ("core", "0024_auto_20201222_1811"), ] diff --git a/src/objects/core/migrations/0026_auto_20201222_1833.py b/src/objects/core/migrations/0026_auto_20201222_1833.py index 58be7238..ae8e289b 100644 --- a/src/objects/core/migrations/0026_auto_20201222_1833.py +++ b/src/objects/core/migrations/0026_auto_20201222_1833.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0025_delete_objects_with_empty_object_type"), ] diff --git a/src/objects/core/migrations/0027_auto_20211203_1209.py b/src/objects/core/migrations/0027_auto_20211203_1209.py index c488d33c..d8f5b7b4 100644 --- a/src/objects/core/migrations/0027_auto_20211203_1209.py +++ b/src/objects/core/migrations/0027_auto_20211203_1209.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0026_auto_20201222_1833"), ] diff --git a/src/objects/core/utils.py b/src/objects/core/utils.py index 6f09a0ff..710ae7d1 100644 --- a/src/objects/core/utils.py +++ b/src/objects/core/utils.py @@ -11,7 +11,6 @@ def check_objecttype(object_type, version, data): try: response = client.retrieve("objectversion", url=objecttype_version_url) except ClientError as exc: - msg = f"Object type version can not be retrieved: {exc.args[0]}" raise ValidationError(msg) diff --git a/src/objects/tests/test_merge_patch.py b/src/objects/tests/test_merge_patch.py index 8fb1d7d7..e2abd5b2 100644 --- a/src/objects/tests/test_merge_patch.py +++ b/src/objects/tests/test_merge_patch.py @@ -5,7 +5,6 @@ class MergePatchTests(TestCase): def test_merge_patch(self): - test_data = [ ({"a": "b"}, {"a": "c"}, {"a": "c"}), ({"a": "b"}, {"b": "c"}, {"a": "b", "b": "c"}), diff --git a/src/objects/token/migrations/0001_initial.py b/src/objects/token/migrations/0001_initial.py index d095e911..c9f955c0 100644 --- a/src/objects/token/migrations/0001_initial.py +++ b/src/objects/token/migrations/0001_initial.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/src/objects/token/migrations/0002_auto_20201223_1231.py b/src/objects/token/migrations/0002_auto_20201223_1231.py index c3fb8427..4affa4b0 100644 --- a/src/objects/token/migrations/0002_auto_20201223_1231.py +++ b/src/objects/token/migrations/0002_auto_20201223_1231.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0026_auto_20201222_1833"), ("token", "0001_initial"), diff --git a/src/objects/token/migrations/0003_auto_20210312_1507.py b/src/objects/token/migrations/0003_auto_20210312_1507.py index 8fd50617..4da71fb2 100644 --- a/src/objects/token/migrations/0003_auto_20210312_1507.py +++ b/src/objects/token/migrations/0003_auto_20210312_1507.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("token", "0002_auto_20201223_1231"), ] diff --git a/src/objects/token/migrations/0004_auto_20210315_1537.py b/src/objects/token/migrations/0004_auto_20210315_1537.py index 23a03d5d..d9d38e19 100644 --- a/src/objects/token/migrations/0004_auto_20210315_1537.py +++ b/src/objects/token/migrations/0004_auto_20210315_1537.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("token", "0003_auto_20210312_1507"), ] diff --git a/src/objects/token/migrations/0005_auto_20210623_1242.py b/src/objects/token/migrations/0005_auto_20210623_1242.py index f65c39ae..b7a54a20 100644 --- a/src/objects/token/migrations/0005_auto_20210623_1242.py +++ b/src/objects/token/migrations/0005_auto_20210623_1242.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("token", "0004_auto_20210315_1537"), ] diff --git a/src/objects/token/migrations/0006_auto_20210721_1543.py b/src/objects/token/migrations/0006_auto_20210721_1543.py index c7d609d0..8ee32af9 100644 --- a/src/objects/token/migrations/0006_auto_20210721_1543.py +++ b/src/objects/token/migrations/0006_auto_20210721_1543.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("core", "0026_auto_20201222_1833"), ("token", "0005_auto_20210623_1242"), diff --git a/src/objects/token/migrations/0007_remove_permission_fields.py b/src/objects/token/migrations/0007_remove_permission_fields.py index ab9394c3..07428a01 100644 --- a/src/objects/token/migrations/0007_remove_permission_fields.py +++ b/src/objects/token/migrations/0007_remove_permission_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("token", "0006_auto_20210721_1543"), ] diff --git a/src/objects/token/migrations/0008_permission_fields.py b/src/objects/token/migrations/0008_permission_fields.py index 2a224f1f..d4d14761 100644 --- a/src/objects/token/migrations/0008_permission_fields.py +++ b/src/objects/token/migrations/0008_permission_fields.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("token", "0007_remove_permission_fields"), ] diff --git a/src/objects/utils/migration_operations.py b/src/objects/utils/migration_operations.py index 6633cfc1..ba82e50e 100644 --- a/src/objects/utils/migration_operations.py +++ b/src/objects/utils/migration_operations.py @@ -45,7 +45,6 @@ def database_forwards(self, app_label, schema_editor, from_state, to_state) -> N if router.allow_migrate( schema_editor.connection.alias, app_label, **self.hints ): - base_sql = _get_reset_sql() with schema_editor.connection.cursor() as cursor: From 94c625879006a1e072120e3e70e3d394917f5aa4 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:18:34 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=A7=20Add=20git=20blame=20ignore?= =?UTF-8?q?=20revs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .git-blame-ignore-revs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..66798df2 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Black update +de05ba4ccf2c9a3c929705cee6f517bf74361a2c