Skip to content

Commit dbec6e4

Browse files
committed
chore: update pre-commit-hooks configuration in line with ev
1 parent a002a23 commit dbec6e4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
44
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
88
exclude: \.svg$
9-
- repo: local
9+
- repo: local
1010
# Using local repos because these won't work for me from remote repo -EJ
1111
# They're also more convenient because we install them via requirements.dev.txt
1212
# and they are then available on the command line as well as in pre-commit.
1313
hooks:
14-
- id: isort
14+
- id: isort
1515
name: isort
1616
entry: isort
1717
language: system
1818
types: [python]
1919
stages: [pre-commit]
20-
- id: black
20+
- id: black
2121
name: black
2222
entry: black
2323
language: system
2424
types: [python]
2525
stages: [pre-commit]
26-
# We do flake8 last since black fixes a lot of the stuff it complains about
27-
- repo: https://github.com/PyCQA/flake8
28-
rev: 3.8.3
26+
# We do flake8 last since black fixes a lot of the stuff it complains about
27+
- repo: https://github.com/pycqa/flake8
28+
rev: 7.1.0
2929
hooks:
30-
- id: flake8
31-
# We do mypy last because it's the slowest of them all
32-
- repo: local
30+
- id: flake8
31+
# We do mypy last because it's the slowest of them all
32+
- repo: local
3333
hooks:
34-
- id: mypy
34+
- id: mypy
3535
name: mypy
3636
entry: mypy
3737
language: system

0 commit comments

Comments
 (0)