diff --git a/imap_data_access/file_validation.py b/imap_data_access/file_validation.py index 0f1a942..c3ce2cb 100644 --- a/imap_data_access/file_validation.py +++ b/imap_data_access/file_validation.py @@ -379,6 +379,7 @@ def __init__(self, filename: str | Path): if self.error_message: raise self.InvalidImapFileError(f"{self.error_message}") + # ruff: noqa: PLR0917 @classmethod def generate_from_inputs( cls, @@ -1114,6 +1115,7 @@ def __init__(self, filename: str | Path): if self.error_message: raise self.InvalidImapFileError(f"{self.error_message}") + # ruff: noqa: PLR0917 @classmethod def generate_from_inputs( cls, diff --git a/imap_data_access/webpoda.py b/imap_data_access/webpoda.py index 41534c9..23dd85e 100644 --- a/imap_data_access/webpoda.py +++ b/imap_data_access/webpoda.py @@ -430,7 +430,7 @@ def download_daily_data( logger.info(f"Finished downloading data for instrument [{instrument}]") -# ruff: noqa: PLR0912, PLR0913 +# ruff: noqa: PLR0912, PLR0913, PLR0917 def download_repointing_data( instrument: str, start_time: datetime.datetime, diff --git a/tests/test_io.py b/tests/test_io.py index ebe833c..370891a 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -780,6 +780,7 @@ def test_upload_no_file(mock_send_request): assert mock_send_request.call_count == 0 +# ruff: noqa: PLR0917 @pytest.mark.parametrize( "upload_file_path", ["a/b/test-file.txt", Path("a/b/test-file.txt")] )