Commit 60bef0c4 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore: remove dead code

parent da7a82b8564b
......@@ -204,20 +204,6 @@ for gitlab_project, warnings in all_artifacts.items():
if warning_key not in result[warning_text]["projects"][gitlab_project]["warnings"]:
result[warning_text]["projects"][gitlab_project]["warnings"][warning_key] = warning
# if file_name not in {x[0] for x in result[warning_text]["path"]}:
# result[warning_text]["path"].append([f'{file_name}',
# warning["lineno"],
# warning.get("file_content")])
# elif warning.get("file_content"):
# for warning_content in result[warning_text]["path"]:
# this_warning_file_name, _, file_content = warning_content
# if this_warning_file_name != file_name:
# continue
# if not file_content:
# warning_content[2] = warning["file_content"]
# this is done to display a summary of the warning at the top
if warning["category"] != "DeprecationWarning":
if "test_file" in warning and "/site-packages/" in warning["test_file"]:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment