Skip to content

Commit 7c1e2b3

Browse files
authored
Merge pull request #356 from maykinmedia/update-format-tools
Update format tools
2 parents 0b0fa76 + 94c6258 commit 7c1e2b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+20
-69
lines changed

.git-blame-ignore-revs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Black update
2+
de05ba4ccf2c9a3c929705cee6f517bf74361a2c

requirements/base.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ mozilla-django-oidc==1.2.4
173173
# via mozilla-django-oidc-db
174174
oyaml==1.0
175175
# via vng-api-common
176-
packaging==20.9
176+
packaging==23.2
177177
# via drf-yasg
178178
phonenumbers==8.12.29
179179
# via maykin-django-two-factor-auth
@@ -193,8 +193,6 @@ pyjwt==2.4.0
193193
# vng-api-common
194194
pyopenssl==20.0.1
195195
# via josepy
196-
pyparsing==2.4.7
197-
# via packaging
198196
pyrsistent==0.17.3
199197
# via jsonschema
200198
python-dateutil==2.8.1
@@ -253,7 +251,7 @@ sqlparse==0.4.2
253251
# via django
254252
text-unidecode==1.3
255253
# via faker
256-
typing-extensions==3.10.0.2
254+
typing-extensions==4.7.1
257255
# via importlib-metadata
258256
unidecode==1.2.0
259257
# via vng-api-common

requirements/ci.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ oyaml==1.0
259259
# via
260260
# -r requirements/base.txt
261261
# vng-api-common
262-
packaging==20.9
262+
packaging==23.2
263263
# via
264264
# -r requirements/base.txt
265265
# drf-yasg
@@ -290,10 +290,6 @@ pyopenssl==20.0.1
290290
# via
291291
# -r requirements/base.txt
292292
# josepy
293-
pyparsing==2.4.7
294-
# via
295-
# -r requirements/base.txt
296-
# packaging
297293
pyquery==1.4.3
298294
# via -r requirements/test-tools.in
299295
pyrsistent==0.17.3
@@ -381,7 +377,7 @@ text-unidecode==1.3
381377
# via
382378
# -r requirements/base.txt
383379
# faker
384-
typing-extensions==3.10.0.2
380+
typing-extensions==4.7.1
385381
# via
386382
# -r requirements/base.txt
387383
# importlib-metadata

requirements/dev.txt

+14-17
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
#
77
alabaster==0.7.12
88
# via sphinx
9-
appdirs==1.4.4
10-
# via black
119
attrs==20.3.0
1210
# via
1311
# -r requirements/ci.txt
@@ -19,7 +17,7 @@ beautifulsoup4==4.9.3
1917
# via
2018
# -r requirements/ci.txt
2119
# webtest
22-
black==20.8b1
20+
black==23.3.0
2321
# via -r requirements/dev.in
2422
boltons==21.0.0
2523
# via
@@ -44,7 +42,7 @@ chardet==4.0.0
4442
# via
4543
# -r requirements/ci.txt
4644
# requests
47-
click==7.1.2
45+
click==8.1.7
4846
# via
4947
# black
5048
# pip-tools
@@ -243,6 +241,7 @@ imagesize==1.2.0
243241
importlib-metadata==4.8.1
244242
# via
245243
# -r requirements/ci.txt
244+
# click
246245
# flake8
247246
# jsonschema
248247
# markdown
@@ -260,7 +259,7 @@ isodate==0.6.0
260259
# via
261260
# -r requirements/ci.txt
262261
# vng-api-common
263-
isort==5.8.0
262+
isort==5.11.5
264263
# via -r requirements/dev.in
265264
itypes==1.2.0
266265
# via
@@ -307,12 +306,13 @@ oyaml==1.0
307306
# via
308307
# -r requirements/ci.txt
309308
# vng-api-common
310-
packaging==20.9
309+
packaging==23.2
311310
# via
312311
# -r requirements/ci.txt
312+
# black
313313
# drf-yasg
314314
# sphinx
315-
pathspec==0.8.1
315+
pathspec==0.11.2
316316
# via black
317317
pep517==0.10.0
318318
# via pip-tools
@@ -324,6 +324,8 @@ pillow==9.0.1
324324
# via -r requirements/ci.txt
325325
pip-tools==6.0.1
326326
# via -r requirements/dev.in
327+
platformdirs==4.0.0
328+
# via black
327329
polib==1.1.1
328330
# via
329331
# -r requirements/ci.txt
@@ -353,10 +355,6 @@ pyopenssl==20.0.1
353355
# via
354356
# -r requirements/ci.txt
355357
# josepy
356-
pyparsing==2.4.7
357-
# via
358-
# -r requirements/ci.txt
359-
# packaging
360358
pyquery==1.4.3
361359
# via -r requirements/ci.txt
362360
pyrsistent==0.17.3
@@ -395,8 +393,6 @@ redis==3.5.3
395393
# via
396394
# -r requirements/ci.txt
397395
# django-redis
398-
regex==2021.4.4
399-
# via black
400396
requests-mock==1.8.0
401397
# via
402398
# -r requirements/ci.txt
@@ -477,16 +473,17 @@ text-unidecode==1.3
477473
# -r requirements/ci.txt
478474
# faker
479475
toml==0.10.2
480-
# via
481-
# black
482-
# pep517
476+
# via pep517
477+
tomli==2.0.1
478+
# via black
483479
typed-ast==1.4.3
484480
# via black
485-
typing-extensions==3.10.0.2
481+
typing-extensions==4.7.1
486482
# via
487483
# -r requirements/ci.txt
488484
# black
489485
# importlib-metadata
486+
# platformdirs
490487
unidecode==1.2.0
491488
# via
492489
# -r requirements/ci.txt

src/objects/accounts/migrations/0001_initial.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99

1010
class Migration(migrations.Migration):
11-
1211
initial = True
1312

1413
dependencies = [

src/objects/accounts/migrations/0002_auto_20201012_1522.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("accounts", "0001_initial"),
109
]

src/objects/accounts/migrations/0003_auto_20201223_1231.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("accounts", "0002_auto_20201012_1522"),
109
]

src/objects/api/validators.py

-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def __call__(self, attrs):
116116
try:
117117
response = client.retrieve("objecttype", url=object_type.url)
118118
except ClientError as exc:
119-
120119
msg = f"Object type can not be retrieved: {exc.args[0]}"
121120
raise ValidationError(msg)
122121

src/objects/core/migrations/0001_initial.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class Migration(migrations.Migration):
9-
109
initial = True
1110

1211
dependencies = []

src/objects/core/migrations/0002_auto_20200518_1707.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0001_initial"),
1110
]

src/objects/core/migrations/0003_objectrecord.py

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88

99
class Migration(migrations.Migration):
10-
1110
dependencies = [
1211
("core", "0002_auto_20200518_1707"),
1312
]

src/objects/core/migrations/0004_move_data_to_record.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def move_data_from_record(apps, _):
2222

2323

2424
class Migration(migrations.Migration):
25-
2625
dependencies = [
2726
("core", "0003_objectrecord"),
2827
]

src/objects/core/migrations/0005_remove_object_data.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0004_move_data_to_record"),
109
]

src/objects/core/migrations/0006_auto_20200904_1402.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0005_remove_object_data"),
1110
]

src/objects/core/migrations/0007_auto_20200904_1403.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0006_auto_20200904_1402"),
109
]

src/objects/core/migrations/0008_objectrecord_correct.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0007_auto_20200904_1403"),
1110
]

src/objects/core/migrations/0009_objectrecord_version.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0008_objectrecord_correct"),
109
]

src/objects/core/migrations/0010_move_version_to_record.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def move_version_from_record(apps, _):
1919

2020

2121
class Migration(migrations.Migration):
22-
2322
dependencies = [
2423
("core", "0009_objectrecord_version"),
2524
]

src/objects/core/migrations/0011_remove_object_version.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0010_move_version_to_record"),
109
]

src/objects/core/migrations/0012_objectrecord_uuid.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0011_remove_object_version"),
1110
]

src/objects/core/migrations/0013_generate_record_uuids.py

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def generate_record_uuids(apps, _):
1111

1212

1313
class Migration(migrations.Migration):
14-
1514
dependencies = [
1615
("core", "0012_objectrecord_uuid"),
1716
]

src/objects/core/migrations/0014_auto_20200915_1740.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0013_generate_record_uuids"),
1110
]

src/objects/core/migrations/0015_objectrecord_geometry.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("core", "0014_auto_20200915_1740"),
1110
]

src/objects/core/migrations/0016_auto_20210111_1649.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0015_objectrecord_geometry"),
109
]

src/objects/core/migrations/0017_auto_20210111_1653.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class Migration(migrations.Migration):
9-
109
dependencies = [
1110
("core", "0016_auto_20210111_1649"),
1211
]

src/objects/core/migrations/0018_auto_20210113_1239.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0017_auto_20210111_1653"),
109
]

src/objects/core/migrations/0019_fill_record_index.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def fill_record_index(apps, _):
2222

2323

2424
class Migration(migrations.Migration):
25-
2625
dependencies = [
2726
("core", "0018_auto_20210113_1239"),
2827
]

src/objects/core/migrations/0020_auto_20210118_1117.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0019_fill_record_index"),
109
]

src/objects/core/migrations/0021_auto_20201222_1745.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class Migration(migrations.Migration):
8-
98
dependencies = [
109
("zgw_consumers", "0011_remove_service_extra"),
1110
("core", "0020_auto_20210118_1117"),

src/objects/core/migrations/0022_move_object_types_to_separate_model.py

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def move_objecttypes_from_model(apps, _):
6868

6969

7070
class Migration(migrations.Migration):
71-
7271
dependencies = [
7372
("core", "0021_auto_20201222_1745"),
7473
("zgw_consumers", "0011_remove_service_extra"),

src/objects/core/migrations/0023_remove_object_object_type.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0022_move_object_types_to_separate_model"),
109
]

src/objects/core/migrations/0024_auto_20201222_1811.py

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
dependencies = [
98
("core", "0023_remove_object_object_type"),
109
]

0 commit comments

Comments
 (0)