From f0547cddf29003f19724a9da3b4d710cb377e439 Mon Sep 17 00:00:00 2001 From: "Andoni A." <14891798+andoniaf@users.noreply.github.com> Date: Thu, 6 Nov 2025 16:31:13 +0100 Subject: [PATCH] chore: fix format --- .../test_github_actions_provider.py | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/tests/providers/github_actions/test_github_actions_provider.py b/tests/providers/github_actions/test_github_actions_provider.py index 1449f589a5..30109a3b7f 100644 --- a/tests/providers/github_actions/test_github_actions_provider.py +++ b/tests/providers/github_actions/test_github_actions_provider.py @@ -67,18 +67,14 @@ class TestGithubActionsProvider: location = { "symbolic": { "annotation": "High risk of code execution", - "key": { - "Local": { - "given_path": ".github/workflows/test.yml" - } - } + "key": {"Local": {"given_path": ".github/workflows/test.yml"}}, }, "concrete": { "location": { "start_point": {"row": 10, "column": 5}, - "end_point": {"row": 10, "column": 15} + "end_point": {"row": 10, "column": 15}, } - } + }, } report = provider._process_zizmor_finding( @@ -132,19 +128,17 @@ class TestGithubActionsProvider: "symbolic": { "annotation": "Excessive permissions detected", "key": { - "Local": { - "given_path": ".github/workflows/ci.yml" - } - } + "Local": {"given_path": ".github/workflows/ci.yml"} + }, }, "concrete": { "location": { "start_point": {"row": 5, "column": 1}, - "end_point": {"row": 5, "column": 20} + "end_point": {"row": 5, "column": 20}, } - } + }, } - ] + ], } ]