Skip to content

Commit 93af1ea

Browse files
authored
style: update ruff and precommit (#52)
1 parent 26ef73f commit 93af1ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: mixed-line-ending
1313
args: [ --fix=lf ]
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.8.6 # ruff version
15+
rev: v0.12.1 # ruff version
1616
hooks:
1717
- id: ruff-format
1818
- id: ruff
@@ -24,4 +24,4 @@ repos:
2424
entry: bash -c 'cd rust && cargo fmt'
2525
args: ['--verbose', '--']
2626

27-
minimum_pre_commit_version: 4.0.1
27+
minimum_pre_commit_version: 4.2.0

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ tests = [
3131
]
3232
dev = [
3333
"maturin",
34-
"ruff==0.8.6",
35-
"pre-commit>=4.0.1",
34+
"ruff==0.12.1",
35+
"pre-commit>=4.2.0",
3636
]
3737

3838
[project.urls]

0 commit comments

Comments
 (0)