Skip to content

Commit 6b5b373

Browse files
⬆️🪝 update pre-commit hooks
updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.4.0...v5.0.0) - [github.com/srstevenson/nb-clean: 2.4.0 → 4.0.1](srstevenson/nb-clean@2.4.0...4.0.1) - [github.com/sirosen/texthooks: 0.5.0 → 0.6.8](sirosen/texthooks@0.5.0...0.6.8) - https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.9.9](astral-sh/ruff-pre-commit@v0.0.275...v0.9.9) - [github.com/psf/black: 23.3.0 → 25.1.0](psf/black@23.3.0...25.1.0) - [github.com/asottile/blacken-docs: 1.14.0 → 1.19.1](adamchainz/blacken-docs@1.14.0...1.19.1) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8) - [github.com/codespell-project/codespell: v2.2.5 → v2.4.1](codespell-project/codespell@v2.2.5...v2.4.1)
1 parent 06e122f commit 6b5b373

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.pre-commit-config.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ci:
1414
repos:
1515
# Standard hooks
1616
- repo: https://github.com/pre-commit/pre-commit-hooks
17-
rev: v4.4.0
17+
rev: v5.0.0
1818
hooks:
1919
- id: check-added-large-files
2020
- id: check-case-conflict
@@ -29,7 +29,7 @@ repos:
2929

3030
# Clean jupyter notebooks
3131
- repo: https://github.com/srstevenson/nb-clean
32-
rev: "2.4.0"
32+
rev: "4.0.1"
3333
hooks:
3434
- id: nb-clean
3535

@@ -43,41 +43,41 @@ repos:
4343

4444
# Handling unwanted unicode characters
4545
- repo: https://github.com/sirosen/texthooks
46-
rev: 0.5.0
46+
rev: 0.6.8
4747
hooks:
4848
- id: fix-ligatures
4949
- id: fix-smartquotes
5050

51-
- repo: https://github.com/charliermarsh/ruff-pre-commit
52-
rev: v0.0.275
51+
- repo: https://github.com/astral-sh/ruff-pre-commit
52+
rev: v0.9.9
5353
hooks:
5454
- id: ruff
5555
args: ["--fix"]
5656

5757
# Run code formatting with Black
5858
- repo: https://github.com/psf/black
59-
rev: 23.3.0 # Keep in sync with blacken-docs
59+
rev: 25.1.0 # Keep in sync with blacken-docs
6060
hooks:
6161
- id: black-jupyter
6262

6363
# Also run Black on examples in the documentation
6464
- repo: https://github.com/asottile/blacken-docs
65-
rev: 1.14.0
65+
rev: 1.19.1
6666
hooks:
6767
- id: blacken-docs
6868
additional_dependencies:
6969
- black==23.3.0 # keep in sync with black hook
7070

7171
# Format configuration files with prettier
7272
- repo: https://github.com/pre-commit/mirrors-prettier
73-
rev: "v3.0.0-alpha.9-for-vscode"
73+
rev: "v4.0.0-alpha.8"
7474
hooks:
7575
- id: prettier
7676
types_or: [yaml, markdown, html, css, scss, javascript, json]
7777

7878
# Check for spelling
7979
- repo: https://github.com/codespell-project/codespell
80-
rev: v2.2.5
80+
rev: v2.4.1
8181
hooks:
8282
- id: codespell
8383
args: ["-L", "wille,linz,braket,coo", "--skip", "*.ipynb"]

0 commit comments

Comments
 (0)