diff --git a/tests/data.py b/tests/data.py index 9228087..7dfa6ad 100644 --- a/tests/data.py +++ b/tests/data.py @@ -390,6 +390,4 @@ None 3 Python-2.0 1 Python-2.0 AND (Python-2.0 AND BSD-3-Clause) AND (Python-2.0 AND BSD-3-Clause AND 0BSD) 1 -"""[ - 1: -] # noqa: W291 +""" # noqa: W291 diff --git a/tests/test_retrieval.py b/tests/test_retrieval.py index 6a6abe6..48b940c 100644 --- a/tests/test_retrieval.py +++ b/tests/test_retrieval.py @@ -258,7 +258,7 @@ def run_on_package_archive_file( ) -> Generator[Any, None, None]: self.assertEqual(2, job_count) self.assertEqual(42, retrieval_flags) - self.assertEqual(suffix, archive_path.name[-len(suffix) :]) + self.assertEqual(suffix, archive_path.name[-len(suffix):]) yield from directory_result with mock.patch.object( @@ -529,6 +529,6 @@ def test_file_path(self) -> None: ==================================================================================================== Apache-2.0 AND (LicenseRef-scancode-unknown-license-reference AND Apache-2.0) 1 -""", +""", # noqa: W291 str(stdout), - ) # noqa: W291 + )