Skip to content

Commit

Permalink
Refactor mobsf parser for v4 reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Maryushkin committed Oct 15, 2024
1 parent dce3ee2 commit aa8d9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/mobsf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_findings(self, filename, test):
field_value = str(data.get(field, ""))

if field_value:
test_description = "%s **%s:** \n" % (test_description, field, field_value)
test_description = "%s **%s:** %s\n" % (test_description, field, field_value)

Check failure on line 62 in dojo/tools/mobsf/parser.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (UP031)

dojo/tools/mobsf/parser.py:62:36: UP031 Use format specifiers instead of percent format

test.description = test_description

Expand Down

0 comments on commit aa8d9de

Please sign in to comment.