Skip to content

Commit d04af46

Browse files
committed
update pre-commit to work with python 3.8
1 parent 2a53474 commit d04af46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.4.2
3+
rev: 24.8.0 # Do not update this repository; it is pinned for compatibility with python 3.8
44
hooks:
55
- id: black
66
exclude: ^tests/\w+/snapshots/
77

88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.4.5
9+
rev: v0.9.3
1010
hooks:
1111
- id: ruff
1212
exclude: ^tests/\w+/snapshots/
@@ -24,7 +24,7 @@ repos:
2424
files: '^docs/.*\.mdx?$'
2525

2626
- repo: https://github.com/pre-commit/pre-commit-hooks
27-
rev: v4.6.0
27+
rev: v5.0.0
2828
hooks:
2929
- id: trailing-whitespace
3030
- id: check-merge-conflict
@@ -33,7 +33,7 @@ repos:
3333
- id: check-toml
3434

3535
- repo: https://github.com/adamchainz/blacken-docs
36-
rev: 1.16.0
36+
rev: 1.18.0 # Do not update this repository; it is pinned for compatibility with python 3.8
3737
hooks:
3838
- id: blacken-docs
3939
args: [--skip-errors]

0 commit comments

Comments
 (0)