Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update format tools #356

Merged
merged 3 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Black update
de05ba4ccf2c9a3c929705cee6f517bf74361a2c
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL about ignoring revisions for blame. 👍

6 changes: 2 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 2 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
31 changes: 14 additions & 17 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -243,6 +241,7 @@ imagesize==1.2.0
importlib-metadata==4.8.1
# via
# -r requirements/ci.txt
# click
# flake8
# jsonschema
# markdown
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/objects/accounts/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = [
Expand Down
1 change: 0 additions & 1 deletion src/objects/accounts/migrations/0002_auto_20201012_1522.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("accounts", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/accounts/migrations/0003_auto_20201223_1231.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("accounts", "0002_auto_20201012_1522"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/api/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0002_auto_20200518_1707.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0003_objectrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0002_auto_20200518_1707"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0004_move_data_to_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def move_data_from_record(apps, _):


class Migration(migrations.Migration):

dependencies = [
("core", "0003_objectrecord"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0005_remove_object_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0004_move_data_to_record"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0006_auto_20200904_1402.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0005_remove_object_data"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0007_auto_20200904_1403.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0006_auto_20200904_1402"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0008_objectrecord_correct.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0007_auto_20200904_1403"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0009_objectrecord_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0008_objectrecord_correct"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0010_move_version_to_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def move_version_from_record(apps, _):


class Migration(migrations.Migration):

dependencies = [
("core", "0009_objectrecord_version"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0011_remove_object_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0010_move_version_to_record"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0012_objectrecord_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0011_remove_object_version"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0013_generate_record_uuids.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def generate_record_uuids(apps, _):


class Migration(migrations.Migration):

dependencies = [
("core", "0012_objectrecord_uuid"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0014_auto_20200915_1740.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0013_generate_record_uuids"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0015_objectrecord_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0014_auto_20200915_1740"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0016_auto_20210111_1649.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0015_objectrecord_geometry"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0017_auto_20210111_1653.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0016_auto_20210111_1649"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0018_auto_20210113_1239.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0017_auto_20210111_1653"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0019_fill_record_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def fill_record_index(apps, _):


class Migration(migrations.Migration):

dependencies = [
("core", "0018_auto_20210113_1239"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0020_auto_20210118_1117.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0019_fill_record_index"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0021_auto_20201222_1745.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("zgw_consumers", "0011_remove_service_extra"),
("core", "0020_auto_20210118_1117"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0022_move_object_types_to_separate_model"),
]
Expand Down
1 change: 0 additions & 1 deletion src/objects/core/migrations/0024_auto_20201222_1811.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("core", "0023_remove_object_object_type"),
]
Expand Down
Loading
Loading