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.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.7...v0.3.5)
- [github.com/psf/black: 23.3.0 → 24.3.0](psf/black@23.3.0...24.3.0)
- [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.2.6](codespell-project/codespell@v2.2.4...v2.2.6)
  • Loading branch information
pre-commit-ci[bot] authored Apr 1, 2024
1 parent f9520a5 commit c4d9cb2
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.5.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.3.5"
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.3.0"
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.2.6"
hooks:
- id: "codespell"
exclude: ".codespellignore"
Expand Down

0 comments on commit c4d9cb2

Please sign in to comment.