From 87030109ac03c6afe39de34058f838578c99f7d3 Mon Sep 17 00:00:00 2001 From: Eli Benevedes Date: Tue, 1 Nov 2022 00:26:02 +0000 Subject: [PATCH] Cleanup debug. Signed-off-by: Eli Benevedes Signed-off-by: Eli Benevedes --- ament_clang_tidy/ament_clang_tidy/main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ament_clang_tidy/ament_clang_tidy/main.py b/ament_clang_tidy/ament_clang_tidy/main.py index 98160d23..68a309eb 100755 --- a/ament_clang_tidy/ament_clang_tidy/main.py +++ b/ament_clang_tidy/ament_clang_tidy/main.py @@ -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 = { @@ -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',