Skip to content

Commit 6bdb7fb

Browse files
⬆️🪝 update pre-commit hooks (#309)
<!--pre-commit.ci start--> updates: - [github.com/srstevenson/nb-clean: 3.0.1 → 3.1.0](srstevenson/nb-clean@3.0.1...3.1.0) - [github.com/sirosen/texthooks: 0.5.0 → 0.6.2](sirosen/texthooks@0.5.0...0.6.2) - [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.1](astral-sh/ruff-pre-commit@v0.0.292...v0.1.1) - [github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.0](psf/black-pre-commit-mirror@23.9.1...23.10.0) - [github.com/pre-commit/mirrors-clang-format: v17.0.2 → v17.0.3](pre-commit/mirrors-clang-format@v17.0.2...v17.0.3) - [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.6.1](pre-commit/mirrors-mypy@v1.6.0...v1.6.1) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lukas Burgholzer <[email protected]>
1 parent f9d1aab commit 6bdb7fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ repos:
3030

3131
# Clean jupyter notebooks
3232
- repo: https://github.com/srstevenson/nb-clean
33-
rev: 3.0.1
33+
rev: 3.1.0
3434
hooks:
3535
- id: nb-clean
3636

3737
# Handling unwanted unicode characters
3838
- repo: https://github.com/sirosen/texthooks
39-
rev: 0.5.0
39+
rev: 0.6.2
4040
hooks:
4141
- id: fix-ligatures
4242
- id: fix-smartquotes
@@ -51,14 +51,14 @@ repos:
5151

5252
# Run ruff (subsumes pyupgrade, isort, flake8+plugins, and more)
5353
- repo: https://github.com/astral-sh/ruff-pre-commit
54-
rev: v0.0.292
54+
rev: v0.1.1
5555
hooks:
5656
- id: ruff
5757
args: ["--fix", "--show-fixes"]
5858

5959
# Run code formatting with Black
6060
- repo: https://github.com/psf/black-pre-commit-mirror
61-
rev: 23.9.1 # Keep in sync with blacken-docs
61+
rev: 23.10.0 # Keep in sync with blacken-docs
6262
hooks:
6363
- id: black-jupyter
6464

@@ -68,7 +68,7 @@ repos:
6868
hooks:
6969
- id: blacken-docs
7070
additional_dependencies:
71-
- black==23.9.1 # keep in sync with black hook
71+
- black==23.10.0 # keep in sync with black hook
7272

7373
# CMake format and lint the CMakeLists.txt files
7474
- repo: https://github.com/cheshirekow/cmake-format-precommit
@@ -81,7 +81,7 @@ repos:
8181

8282
# Clang-format the C++ part of the code base automatically
8383
- repo: https://github.com/pre-commit/mirrors-clang-format
84-
rev: v17.0.2
84+
rev: v17.0.3
8585
hooks:
8686
- id: clang-format
8787
types_or: [c++, c, cuda]
@@ -95,7 +95,7 @@ repos:
9595

9696
# Check static types with mypy
9797
- repo: https://github.com/pre-commit/mirrors-mypy
98-
rev: v1.6.0
98+
rev: v1.6.1
9999
hooks:
100100
- id: mypy
101101
files: ^(src/mqt|test/python)

0 commit comments

Comments
 (0)