diff --git a/pooch/tests/test_core.py b/pooch/tests/test_core.py index 13972054..6423d423 100644 --- a/pooch/tests/test_core.py +++ b/pooch/tests/test_core.py @@ -519,7 +519,7 @@ def test_check_availability_on_ftp(ftpserver): def test_check_availability_invalid_downloader(): "Should raise an exception if the downloader doesn't support this" - def downloader(url, output, pooch): # pylint: disable=unused-argument + def downloader(url, output, pooch): # noqa: ARG001 "A downloader that doesn't support check_only" return None diff --git a/pooch/tests/test_utils.py b/pooch/tests/test_utils.py index 77ea647d..83713a32 100644 --- a/pooch/tests/test_utils.py +++ b/pooch/tests/test_utils.py @@ -81,7 +81,7 @@ def mockmakedirs(path, exist_ok=False): # pylint: disable=unused-argument def test_local_storage_makedirs_permissionerror(monkeypatch): "Should warn the user when can't create the local data dir" - def mockmakedirs(path, exist_ok=False): # pylint: disable=unused-argument + def mockmakedirs(path, exist_ok=False): # noqa: ARG001 "Raise an exception to mimic permission issues" raise PermissionError("Fake error") @@ -104,7 +104,7 @@ def test_local_storage_newfile_permissionerror(monkeypatch): # This is a separate function because there should be a warning if the data # dir already exists but we can't write to it. - def mocktempfile(**kwargs): # pylint: disable=unused-argument + def mocktempfile(**kwargs): # noqa: ARG001 "Raise an exception to mimic permission issues" raise PermissionError("Fake error")