Skip to content

Commit 2033d75

Browse files
cursoragentmplatzer
andcommitted
ci: align ruff-pre-commit with dev Ruff 0.15.12
Use ruff-check hook id and bump rev so pre-commit matches uv lock and no longer rewrites imports differently on commit. Co-authored-by: Michi Platzer <michael.platzer@gmail.com>
1 parent 9206474 commit 2033d75

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ repos:
4848
- id: pyupgrade
4949
args: [--py311-plus]
5050
- repo: https://github.com/astral-sh/ruff-pre-commit
51-
rev: v0.11.6
51+
rev: v0.15.12
5252
hooks:
53-
- id: ruff
53+
- id: ruff-check
5454
args: [--fix]
5555
- id: ruff-format

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ snowflake = [
121121
[dependency-groups]
122122
dev = [
123123
"pytest>=8.0",
124-
"ruff>=0.11", # sync'ed with .pre-commit-config
124+
"ruff>=0.15.12", # sync'ed with .pre-commit-config (ruff-pre-commit rev)
125125
"pre-commit>=4.0",
126126
"twine>=6.1",
127127
"ipykernel>=6.25",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)