Skip to content

Commit

Permalink
STY: Encorce ruff rules (RUF)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 22, 2024
1 parent 6b42e26 commit e8d795e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nibabel/tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
get_data_path,
make_datasource,
)
from .test_environment import DATA_KEY, USER_KEY
from .test_environment import DATA_KEY, USER_KEY, with_environment # noqa: F401


@pytest.fixture
def with_nimd_env(request, with_environment):
def with_nimd_env(request, with_environment): # noqa: F811
DATA_FUNCS = {}
DATA_FUNCS['home_dir_func'] = nibd.get_nipy_user_dir
DATA_FUNCS['sys_dir_func'] = nibd.get_nipy_system_dir
Expand Down

0 comments on commit e8d795e

Please sign in to comment.