Skip to content

Commit b48774b

Browse files
Fix pre-commit (#93)
1 parent d31005f commit b48774b

File tree

9 files changed

+11
-19
lines changed

9 files changed

+11
-19
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.2.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -21,33 +21,33 @@ repos:
2121
- id: mixed-line-ending
2222
- id: trailing-whitespace
2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: v2.32.1
24+
rev: v3.3.1
2525
hooks:
2626
- id: pyupgrade
2727
exclude: ^docs/
2828
args: [--py37-plus]
2929
- repo: https://github.com/pycqa/isort
30-
rev: 5.10.1
30+
rev: 5.12.0
3131
hooks:
3232
- id: isort
3333
name: isort
3434
- repo: https://github.com/psf/black
35-
rev: 22.3.0
35+
rev: 23.3.0
3636
hooks:
3737
- id: black
38-
- repo: https://gitlab.com/pycqa/flake8
39-
rev: 3.9.2
38+
- repo: https://github.com/pycqa/flake8
39+
rev: 6.0.0
4040
hooks:
4141
- id: flake8
4242
exclude: ^docs/
4343
additional_dependencies:
44-
- flake8-bugbear==22.4.25
45-
- flake8-builtins==1.5.3
46-
- flake8-comprehensions==3.10.0
44+
- flake8-bugbear==23.3.23
45+
- flake8-builtins==2.1.0
46+
- flake8-comprehensions==3.12.0
4747
- repo: https://github.com/pre-commit/mirrors-prettier
48-
rev: v2.6.2
48+
rev: v3.0.0-alpha.6
4949
hooks:
5050
- id: prettier
5151
additional_dependencies:
52-
- prettier@2.6.2
52+
- prettier@2.8.7
5353
- prettier-plugin-toml@0.3.1

tests/fields/test_migrations_encrypted_default/0001_initial.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
initial = True
98

109
dependencies = []

tests/fields/test_migrations_encrypted_default/0002_integerencryptedmodel_field_2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

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

tests/fields/test_migrations_normal_to_encrypted/0001_initial.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

66
class Migration(migrations.Migration):
7-
87
initial = True
98

109
dependencies = []

tests/fields/test_migrations_normal_to_encrypted/0002_rename_fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class Migration(migrations.Migration):
5-
65
dependencies = [
76
("fields", "0001_initial"),
87
]

tests/fields/test_migrations_normal_to_encrypted/0003_add_encrypted_fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55

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

tests/fields/test_migrations_normal_to_encrypted/0004_migrate_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ def reverse_other_encrypted_types(apps, schema_editor):
112112

113113

114114
class Migration(migrations.Migration):
115-
116115
dependencies = [
117116
("fields", "0003_add_encrypted_fields"),
118117
]

tests/fields/test_migrations_normal_to_encrypted/0005_remove_old_fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class Migration(migrations.Migration):
5-
65
dependencies = [
76
("fields", "0004_migrate_data"),
87
]

tests/utils/crypto/tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def test_invalid_algorithm(self):
7878

7979

8080
class TestUtilsCryptoPBKDF2(unittest.TestCase):
81-
8281
# https://tools.ietf.org/html/draft-josefsson-pbkdf2-test-vectors-06
8382
rfc_vectors = [
8483
{

0 commit comments

Comments
 (0)