Skip to content

Commit

Permalink
fix flake8 violations
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 committed Dec 8, 2023
1 parent ca30948 commit 6f542c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions tests/test_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
)

0 comments on commit 6f542c0

Please sign in to comment.