Skip to content

Commit

Permalink
Flake8: Fix E201, E202 and E231 (#9761)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik authored Mar 27, 2024
1 parent 15b8f16 commit 0c925e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dojo/tools/api_bugcrowd/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ def test_connection(self):
list(map(lambda p: p["attributes"]["name"], targets))
)
return (
f'With {total_subs} submissions, you have access to the "{ program_names }" '
f'With {total_subs} submissions, you have access to the "{program_names}" '
f"programs, "
f"you can use these as Service key 1 for filtering submissions "
f'You also have targets "{ target_names }" that can be used in Service key 2'
f'You also have targets "{target_names}" that can be used in Service key 2'
)
else:
raise Exception(
Expand Down
4 changes: 2 additions & 2 deletions dojo/tools/api_bugcrowd/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def get_findings(self, file, test):
entry["attributes"]["description"],
"",
"Bugcrowd details:",
f"- Severity: P{ bugcrowd_severity }",
f"- Bug Url: [{bug_url}]({ bug_url })",
f"- Severity: P{bugcrowd_severity}",
f"- Bug Url: [{bug_url}]({bug_url})",
"",
f"Bugcrowd link: [{links}]({links})",
]
Expand Down

0 comments on commit 0c925e1

Please sign in to comment.