Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/srstevenson/nb-clean: 3.2.0 → 3.3.0](srstevenson/nb-clean@3.2.0...3.3.0)
- [github.com/sirosen/texthooks: 0.6.3 → 0.6.6](sirosen/texthooks@0.6.3...0.6.6)
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.5.0](astral-sh/ruff-pre-commit@v0.1.9...v0.5.0)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.1](pre-commit/mirrors-mypy@v1.8.0...v1.10.1)
- [github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.8](pre-commit/mirrors-clang-format@v17.0.6...v18.1.8)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
- [github.com/scientific-python/cookie: 2023.12.21 → 2024.04.23](scientific-python/cookie@2023.12.21...2024.04.23)
  • Loading branch information
pre-commit-ci[bot] authored Jul 1, 2024
1 parent 3fdd023 commit 1ed657f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ci:
repos:
# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -33,13 +33,13 @@ repos:

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

# Handling unwanted unicode characters
- repo: https://github.com/sirosen/texthooks
rev: 0.6.3
rev: 0.6.6
hooks:
- id: fix-ligatures
- id: fix-smartquotes
Expand All @@ -54,7 +54,7 @@ repos:

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.5.0
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -64,7 +64,7 @@ repos:

# Static type checking using mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.10.1
hooks:
- id: mypy
files: ^(src/mqt|test/python)
Expand All @@ -74,14 +74,14 @@ repos:

# Also run Black on examples in the documentation
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0
rev: 1.18.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.*]

# Clang-format the C++ part of the code base automatically
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.8
hooks:
- id: clang-format
types_or: [c++, c, cuda]
Expand All @@ -104,7 +104,7 @@ repos:

# Check for spelling
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
args: ["-L", "wille,linz,inout", "--skip", "test/circuits/*"]
Expand All @@ -120,7 +120,7 @@ repos:

# Check best practices for scientific Python code
- repo: https://github.com/scientific-python/cookie
rev: 2023.12.21
rev: 2024.04.23
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]

0 comments on commit 1ed657f

Please sign in to comment.