Skip to content

Commit c01d0e9

Browse files
authored
Update pre-commit hooks to the latest versions. (#326)
- Migrate to commit hashes instead of tags to improve security - Updates applied via `pre-commit autoupdate --freeze`
1 parent 04da830 commit c01d0e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
repos:
44
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
55
- repo: https://github.com/psf/black-pre-commit-mirror
6-
rev: 24.8.0
6+
rev: c53240a7f974b3707e13eac6710542cc96a2d61a # frozen: 24.10.0
77
hooks:
88
- id: black
99
files: "^python/"
1010
- repo: https://github.com/asottile/pyupgrade
11-
rev: v3.18.0
11+
rev: 19364aa1b2ac289ce75e6bbe93994f7b4b9425f6 # frozen: v3.19.0
1212
hooks:
1313
- id: pyupgrade
1414
files: "^python/"
1515
args: [ "--py39-plus" ]
1616
- repo: https://github.com/pycqa/flake8
17-
rev: "7.1.1"
17+
rev: "e43806be3607110919eff72939fda031776e885a" # frozen: 7.1.1
1818
hooks:
1919
- id: flake8
2020
files: "^python/"

0 commit comments

Comments
 (0)