File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ def from_maven(report: str) -> Iterable[Issue]:
100100 )
101101
102102
103- def from_json (report : str ) -> Iterable [Issue ]:
104- report = json .loads (report )
103+ def from_json (report_str : str ) -> Iterable [Issue ]:
104+ report = json .loads (report_str )
105105 issues = report .get ("results" , {})
106106 for issue in issues :
107107 references = []
@@ -117,7 +117,7 @@ def from_json(report: str) -> Iterable[Issue]:
117117 description = issue ["issue_text" ],
118118 coordinates = issue ["filename" ].replace (
119119 str (PROJECT_CONFIG .root ) + "/" , ""
120- ) + f":{ issue ["line_number" ]} :{ issue ["col_offset" ]} :" ,
120+ ) + f":{ str ( issue ["line_number" ]) } :{ str ( issue ["col_offset" ]) } :" ,
121121 references = tuple (references )
122122 )
123123
You can’t perform that action at this time.
0 commit comments