github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash darker --check --diff -r 597086c60959dd5b3c032552e8b42dd1d053f233...df8296d418eac2b4db9d955a0aec25c4c1c22a9c clang/utils/perf-training/perf-helper.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- perf-helper.py 2024-01-08 17:26:31.000000 +0000 +++ perf-helper.py 2024-01-08 17:34:40.569938 +0000 @@ -35,12 +35,12 @@ "Usage: %s clean <paths> <extension>\n" % __file__ + "\tRemoves all files with extension from <path>." ) return 1 for path in args[1:-1]: - for filename in findFilesWithExtension(path, args[-1]): - os.remove(filename) + for filename in findFilesWithExtension(path, args[-1]): + os.remove(filename) return 0 def merge(args): if len(args) < 3: @@ -49,11 +49,11 @@ + "\tMerges all profraw files from path into output." ) return 1 cmd = [args[0], "merge", "-o", args[1]] for i in range(2, len(args)): - cmd.extend(findFilesWithExtension(args[i], "profraw")) + cmd.extend(findFilesWithExtension(args[i], "profraw")) subprocess.check_call(cmd) return 0 def merge_fdata(args): `````````` </details> https://github.com/llvm/llvm-project/pull/77035 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits