[llvm] 6c1678a - [CI] Remove unused variable in code-format job (#165454)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 14:42:35 PDT 2025
Author: Baranov Victor
Date: 2025-10-31T00:42:31+03:00
New Revision: 6c1678abce2c31b0db22634aa19368095a75ca77
URL: https://github.com/llvm/llvm-project/commit/6c1678abce2c31b0db22634aa19368095a75ca77
DIFF: https://github.com/llvm/llvm-project/commit/6c1678abce2c31b0db22634aa19368095a75ca77.diff
LOG: [CI] Remove unused variable in code-format job (#165454)
`comments` were never used plus generated pylint error
Added:
Modified:
llvm/utils/git/code-format-helper.py
Removed:
################################################################################
diff --git a/llvm/utils/git/code-format-helper.py b/llvm/utils/git/code-format-helper.py
index dff7f78ce64a2..f6b28f480b8a2 100755
--- a/llvm/utils/git/code-format-helper.py
+++ b/llvm/utils/git/code-format-helper.py
@@ -486,8 +486,6 @@ def hook_main():
if fmt.has_tool():
if not fmt.run(args.changed_files, args):
failed_fmts.append(fmt.name)
- if fmt.comment:
- comments.append(fmt.comment)
else:
print(f"Couldn't find {fmt.name}, can't check " + fmt.friendly_name.lower())
More information about the llvm-commits
mailing list