Skip to content

Commit 6c3af5c

Browse files
authored
Update pre-commit hooks (#646)
1 parent 6a46359 commit 6c3af5c

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,22 @@ repos:
77
entry: ./tools/check_changes.py
88
pass_filenames: false
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.4.0
10+
rev: v5.0.0
1111
hooks:
1212
- id: check-merge-conflict
1313
exclude: rst$
1414
- repo: https://github.com/asottile/yesqa
15-
rev: v1.4.0
15+
rev: v1.5.0
1616
hooks:
1717
- id: yesqa
18-
- repo: https://github.com/Zac-HD/shed
19-
rev: 2023.5.2
20-
hooks:
21-
- id: shed
22-
args:
23-
- --refactor
24-
- --py38-plus
25-
types_or:
26-
- python
27-
- markdown
28-
- rst
2918
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
30-
rev: v2.9.0
19+
rev: v2.14.0
3120
hooks:
3221
- id: pretty-format-yaml
3322
alias: yaml
3423
args: [--autofix, --indent, '2']
3524
- repo: https://github.com/pre-commit/pre-commit-hooks
36-
rev: v4.4.0
25+
rev: v5.0.0
3726
hooks:
3827
- id: trailing-whitespace
3928
- id: end-of-file-fixer
@@ -45,7 +34,7 @@ repos:
4534
- id: check-yaml
4635
- id: debug-statements
4736
- repo: https://github.com/PyCQA/flake8
48-
rev: 6.0.0
37+
rev: 7.1.1
4938
hooks:
5039
- id: flake8
5140
language_version: python3
@@ -54,7 +43,7 @@ repos:
5443
hooks:
5544
- id: python-use-type-annotations
5645
- repo: https://github.com/rhysd/actionlint
57-
rev: v1.6.24
46+
rev: v1.7.4
5847
hooks:
5948
- id: actionlint-docker
6049
args:

0 commit comments

Comments
 (0)