Skip to content

Commit

Permalink
Cleanup debug.
Browse files Browse the repository at this point in the history
Signed-off-by: Eli Benevedes <[email protected]>

Signed-off-by: Eli Benevedes <[email protected]>
  • Loading branch information
Eli Benevedes committed Nov 19, 2022
1 parent 2976b06 commit 8703010
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ament_clang_tidy/ament_clang_tidy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@ def get_sarif_content(report, clang_tidy_version):
with open('1.yaml', 'w') as file:
yaml.dump(report, file)

# print(json.dumps(report, indent=4))

# Lay out the basic structure of the SARIF file (a single run that has 'tool',
# 'artifacts', and 'results' entries)
sarif = {
Expand Down Expand Up @@ -481,9 +479,6 @@ def get_sarif_content(report, clang_tidy_version):

error_without_rule = strip_error.match(error['error_msg'])

if not error_without_rule:
print("OOPS! Check your regex")

results_dict = {
'ruleId': rule_id,
'level': 'warning',
Expand Down

0 comments on commit 8703010

Please sign in to comment.