Skip to content

Commit 8322d91

Browse files
committed
Update pre-commit hooks
1 parent d6f4317 commit 8322d91

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: "v4.5.0"
5+
rev: "v4.6.0"
66
hooks:
77
- id: trailing-whitespace # trims trailing whitespace
88
args: [--markdown-linebreak-ext=md]
@@ -15,30 +15,24 @@ repos:
1515
- id: check-merge-conflict # check for files that contain merge conflict strings
1616

1717
- repo: https://github.com/adamchainz/django-upgrade
18-
rev: "1.15.0"
18+
rev: "1.18.0"
1919
hooks:
2020
- id: django-upgrade
21-
args: [--target-version, "3.2"]
21+
args: [--target-version, "4.2"]
2222

2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: "v3.15.0"
24+
rev: "v3.16.0"
2525
hooks:
2626
- id: pyupgrade
27-
args: [--py37-plus]
27+
args: [--py38-plus]
2828

2929
- repo: https://github.com/pycqa/isort
30-
rev: "5.12.0"
30+
rev: "5.13.2"
3131
hooks:
3232
- id: isort
3333
name: isort (python)
3434

3535
- repo: https://github.com/psf/black
36-
rev: "23.10.1"
36+
rev: "24.4.2"
3737
hooks:
3838
- id: black
39-
40-
- repo: https://github.com/ikamensh/flynt
41-
rev: "1.0.1"
42-
hooks:
43-
- id: flynt
44-
args: [--aggressive, --line-length, "120"]

0 commit comments

Comments
 (0)