Skip to content

Commit 7d6250d

Browse files
⬆️🪝 update pre-commit hooks (#495)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.4 → v0.5.5](astral-sh/ruff-pre-commit@v0.5.4...v0.5.5) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lukas Burgholzer <burgholzer@me.com>
1 parent aae9e37 commit 7d6250d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ repos:
5656

5757
# Python linting using ruff
5858
- repo: https://github.com/astral-sh/ruff-pre-commit
59-
rev: v0.5.4
59+
rev: v0.5.5
6060
hooks:
6161
- id: ruff
6262
args: ["--fix", "--show-fixes"]
@@ -109,8 +109,8 @@ repos:
109109
files: (\.cmake|CMakeLists.txt)(.in)?$
110110

111111
# Format configuration files with prettier
112-
- repo: https://github.com/pre-commit/mirrors-prettier
113-
rev: v4.0.0-alpha.8
112+
- repo: https://github.com/rbubley/mirrors-prettier
113+
rev: v3.3.3
114114
hooks:
115115
- id: prettier
116116
types_or: [yaml, markdown, html, css, scss, javascript, json]

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ isort.required-imports = ["from __future__ import annotations"]
254254
convention = "google"
255255

256256

257+
[tool.repo-review]
258+
ignore = [
259+
"PC180", # "Uses prettier" -> switched to different prettier-mirror that is not recognized by the check
260+
]
261+
262+
257263
[tool.cibuildwheel]
258264
build = "cp3*"
259265
skip = "*-musllinux*"

0 commit comments

Comments
 (0)