Skip to content

Commit de09ad9

Browse files
committed
Update precommit
1 parent 7f802eb commit de09ad9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.pre-commit-config.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
@@ -12,12 +12,12 @@ repos:
1212
- id: check-ast
1313
- id: check-added-large-files
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.3.5
15+
rev: v0.7.1
1616
hooks:
1717
- id: ruff
1818
args: [--fix]
1919
- repo: https://github.com/psf/black
20-
rev: 24.3.0
20+
rev: 24.10.0
2121
hooks:
2222
- id: black
2323
language_version: python3
@@ -27,18 +27,18 @@ repos:
2727
- id: blackdoc
2828
additional_dependencies: ["black[jupyter]"]
2929
- repo: https://github.com/pre-commit/mirrors-prettier
30-
rev: "v3.1.0"
30+
rev: "v4.0.0-alpha.8"
3131
hooks:
3232
- id: prettier
3333
types_or: [yaml, html, css, scss, javascript, json] # markdown to avoid conflicts with mdformat
3434
- repo: https://github.com/codespell-project/codespell
35-
rev: v2.2.6
35+
rev: v2.3.0
3636
hooks:
3737
- id: codespell
3838
types_or: [python, markdown, rst]
3939
additional_dependencies: [tomli]
4040
- repo: https://github.com/asottile/pyupgrade
41-
rev: v3.15.2
41+
rev: v3.19.0
4242
hooks:
4343
- id: pyupgrade
4444
- repo: https://github.com/MarcoGorelli/madforhooks
@@ -47,7 +47,7 @@ repos:
4747
# - id: conda-env-sorter # conflicts with prettier
4848
- id: check-execution-order
4949
- repo: https://github.com/executablebooks/mdformat
50-
rev: 0.7.17
50+
rev: 0.7.18
5151
hooks:
5252
- id: mdformat
5353
additional_dependencies: [mdformat-gfm, mdformat-black]
@@ -58,7 +58,7 @@ repos:
5858
- id: nbstripout
5959
args: [--keep-output]
6060
- repo: https://github.com/nbQA-dev/nbQA
61-
rev: 1.8.5
61+
rev: 1.8.7
6262
hooks:
6363
- id: nbqa-black
6464
- id: nbqa-ruff

0 commit comments

Comments
 (0)