Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Jul 30, 2024
1 parent 44d8363 commit 9435935
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ repos:

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
rev: v0.5.5
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -101,15 +101,15 @@ repos:
files: (\.cmake|CMakeLists.txt)(.in)?$

# Format configuration files with prettier
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]

# Check for spelling
- repo: https://github.com/crate-ci/typos
rev: v1.23.2
rev: v1.23.5
hooks:
- id: typos

Expand All @@ -131,14 +131,14 @@ repos:

# Check JSON schemata
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.0
rev: 0.29.1
hooks:
- id: check-dependabot
- id: check-github-workflows
- id: check-readthedocs

# Check the pyproject.toml file
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.07.01
rev: 2024.07.29
hooks:
- id: validate-pyproject
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ mch = "mch"

[tool.repo-review]
ignore = [
"PC160" # "Uses codespell" -> switched to https://github.com/crate-ci/typos
"PC160", # "Uses codespell" -> switched to https://github.com/crate-ci/typos
"PC180", # "Uses prettier" -> switched to different prettier-mirror that is not recognized by the check
]


Expand Down

0 comments on commit 9435935

Please sign in to comment.