From e8d795e2b074e62a16c1490eecf0e745c5b376c5 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 22 Sep 2024 22:57:07 +0200 Subject: [PATCH] STY: Encorce ruff rules (RUF) --- nibabel/tests/test_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nibabel/tests/test_data.py b/nibabel/tests/test_data.py index 22ebbc9d9..511fa7f85 100644 --- a/nibabel/tests/test_data.py +++ b/nibabel/tests/test_data.py @@ -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