Skip to content

Commit

Permalink
Merge pull request #175 from edwarddavidbaker/bandit-updates
Browse files Browse the repository at this point in the history
ci: Bandit updates
  • Loading branch information
edwarddavidbaker authored Sep 16, 2024
2 parents 7ab6504 + 313d60b commit d2d1313
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bandit[sarif]
bandit[sarif]==1.7.9
2 changes: 1 addition & 1 deletion scripts/ci/verify_mapfile/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jsonschema
jsonschema==4.23.0
2 changes: 1 addition & 1 deletion scripts/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def ParsePerfJson(orig: str) -> Expression:
raise SyntaxError(f'Parsing expression:\n{orig}') from e
_RewriteIfExpToSelect().visit(parsed)
parsed = ast.fix_missing_locations(parsed)
return _Constify(eval(compile(parsed, orig, 'eval')))
return _Constify(eval(compile(parsed, orig, 'eval'))) #nosec B307


def RewriteMetricsInTermsOfOthers(metrics: list[Tuple[str, Expression]]
Expand Down

0 comments on commit d2d1313

Please sign in to comment.