Skip to content

Commit 2afcd59

Browse files
committed
fix: ci problems with formatting on test file
Signed-off-by: Carl Flottmann <[email protected]>
1 parent ee2b8fd commit 2afcd59

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

tests/slsa_analyzer/checks/test_detect_malicious_metadata_check.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@
4040
pytest.param("pkg:pypi/zlibxjson", CheckResultType.PASSED, True, id="test_experimental_malicious_pypi_package"),
4141
],
4242
)
43-
def test_detect_malicious_metadata(mock_global_config: MagicMock,
44-
httpserver: HTTPServer,
45-
tmp_path: Path,
46-
macaron_path: Path,
47-
purl: str,
48-
expected: str,
49-
experimental: bool) -> None:
43+
def test_detect_malicious_metadata(
44+
mock_global_config: MagicMock,
45+
httpserver: HTTPServer,
46+
tmp_path: Path,
47+
macaron_path: Path,
48+
purl: str,
49+
expected: str,
50+
experimental: bool,
51+
) -> None:
5052
"""Test that the check handles repositories correctly."""
5153
check = DetectMaliciousMetadataCheck()
5254

@@ -143,5 +145,5 @@ def test_evaluations(combination: dict[Heuristics, HeuristicResult]) -> None:
143145

144146
confidence, triggered_rules = check.evaluate_heuristic_results(combination)
145147
assert confidence == 0
146-
# Expecting this to be a dictionary, so we can ignore the type problems
148+
# Expecting this to be a dictionary, so we can ignore the type problems.
147149
assert len(dict(triggered_rules)) == 0 # type: ignore[arg-type]

0 commit comments

Comments
 (0)