Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#385)
Browse files Browse the repository at this point in the history
<!--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-mypy: v1.6.0 →
v1.6.1](pre-commit/mirrors-mypy@v1.6.0...v1.6.1)
- [github.com/pre-commit/mirrors-clang-format: v17.0.2 →
v17.0.3](pre-commit/mirrors-clang-format@v17.0.2...v17.0.3)
<!--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 <burgholzer@me.com>
  • Loading branch information
pre-commit-ci[bot] and burgholzer authored Oct 24, 2023
1 parent 1024b3a commit 0708e68
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ repos:

# Clean jupyter notebooks
- repo: https://github.com/srstevenson/nb-clean
rev: 3.0.1
rev: 3.1.0
hooks:
- id: nb-clean

# Handling unwanted unicode characters
- repo: https://github.com/sirosen/texthooks
rev: 0.5.0
rev: 0.6.2
hooks:
- id: fix-ligatures
- id: fix-smartquotes
Expand All @@ -51,14 +51,14 @@ repos:

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

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

Expand All @@ -68,11 +68,11 @@ repos:
hooks:
- id: blacken-docs
additional_dependencies:
- black==23.9.1 # keep in sync with black hook
- black==23.10.0 # keep in sync with black hook

# Check static types with mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.0
rev: v1.6.1
hooks:
- id: mypy
files: ^(src/mqt|test/python)
Expand All @@ -92,7 +92,7 @@ repos:

# Clang-format the C++ part of the code base automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.2
rev: v17.0.3
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand Down

0 comments on commit 0708e68

Please sign in to comment.