Skip to content

Commit 1b32845

Browse files
MNT: Bump ruff version
1 parent 156455d commit 1b32845

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- id: check-merge-conflict
1414
- id: check-vcs-permalinks
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.1.9
16+
rev: v0.3.0
1717
hooks:
1818
- id: ruff
1919
args: [--fix, --show-fix, --exit-non-zero-on-fix]

nibabel/tests/test_image_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
clear_and_catch_warnings,
5151
deprecated_to,
5252
expires,
53-
nullcontext,
5453
)
5554

5655
from .. import (

nibabel/tests/test_onetime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import pytest
2-
31
from nibabel.onetime import auto_attr, setattr_on_read
42
from nibabel.testing import deprecated_to, expires
53

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ commands =
139139
description = Check our style guide
140140
labels = check
141141
deps =
142-
ruff>=0.1.9
142+
ruff>=0.3.0
143143
skip_install = true
144144
commands =
145-
ruff --diff nibabel
145+
ruff check --diff nibabel
146146
ruff format --diff nibabel
147147

148148
[testenv:style-fix]

0 commit comments

Comments
 (0)