Skip to content

Commit

Permalink
chore: update pre-commit hooks
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.4.0...v4.6.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.5.0](astral-sh/ruff-pre-commit@v0.1.7...v0.5.0)
- [github.com/psf/black: 23.3.0 → 24.4.2](psf/black@23.3.0...24.4.2)
- [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8)
- [github.com/codespell-project/codespell: v2.2.4 → v2.3.0](codespell-project/codespell@v2.2.4...v2.3.0)
  • Loading branch information
pre-commit-ci[bot] authored Jul 2, 2024
1 parent 4cab422 commit c63b4f0
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 @@ -10,7 +10,7 @@ default_language_version:
repos:

- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.4.0"
rev: "v4.6.0"
hooks:
- id: "check-added-large-files"
- id: "check-case-conflict"
Expand All @@ -30,15 +30,15 @@ repos:
- id: "trailing-whitespace"

- repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.1.7"
rev: "v0.5.0"
hooks:
- id: "ruff"
# NOTE: "--exit-non-zero-on-fix" is important for CI to function
# correctly!
args: ["--fix", "--exit-non-zero-on-fix"]

- repo: "https://github.com/psf/black"
rev: "23.3.0"
rev: "24.4.2"
hooks:
- id: "black"

Expand All @@ -47,7 +47,7 @@ repos:
# specify the prettier hook twice if we want to format other things and avoid
# a messy regex.
- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: "v3.1.0"
rev: "v4.0.0-alpha.8"
hooks:
- id: "prettier"
files: "CITATION.cff"
Expand All @@ -59,7 +59,7 @@ repos:
- "--verbose"

- repo: "https://github.com/codespell-project/codespell"
rev: "v2.2.4"
rev: "v2.3.0"
hooks:
- id: "codespell"
exclude: ".codespellignore"
Expand Down

0 comments on commit c63b4f0

Please sign in to comment.