Apply ruff flake8-comprehensions (#21694)
This commit is contained in:
@@ -134,6 +134,6 @@ if __name__ == "__main__":
|
||||
|
||||
# extract warnings from artifacts
|
||||
selected_warnings = extract_warnings(args.output_dir, args.targets)
|
||||
selected_warnings = sorted(list(selected_warnings))
|
||||
selected_warnings = sorted(selected_warnings)
|
||||
with open(os.path.join(args.output_dir, "selected_warnings.json"), "w", encoding="UTF-8") as fp:
|
||||
json.dump(selected_warnings, fp, ensure_ascii=False, indent=4)
|
||||
|
||||
Reference in New Issue
Block a user