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/sirosen/texthooks: 0.6.4 → 0.6.6](sirosen/texthooks@0.6.4...0.6.6)
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.5](pre-commit/mirrors-clang-format@v17.0.6...v18.1.5)
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.4.5](astral-sh/ruff-pre-commit@v0.2.2...v0.4.5)
- [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](codespell-project/codespell@v2.2.6...v2.3.0)
  • Loading branch information
pre-commit-ci[bot] authored May 27, 2024
1 parent 26bbfae commit cca9e96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exclude: "cxxopts|taskflow|zx|json|pybind11|pybind11_json|googletest"
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 @@ -36,7 +36,7 @@ repos:

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

# 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.5
hooks:
- id: clang-format
types_or: [c++, c, cuda]

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.4.5
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -93,7 +93,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,braket,coo,pres,testss", "--skip", "*.ipynb"]

0 comments on commit cca9e96

Please sign in to comment.