Skip to content

Commit 6c1678a

Browse files
authored
[CI] Remove unused variable in code-format job (#165454)
`comments` were never used plus generated pylint error
1 parent 4afb0e6 commit 6c1678a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/utils/git/code-format-helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,6 @@ def hook_main():
486486
if fmt.has_tool():
487487
if not fmt.run(args.changed_files, args):
488488
failed_fmts.append(fmt.name)
489-
if fmt.comment:
490-
comments.append(fmt.comment)
491489
else:
492490
print(f"Couldn't find {fmt.name}, can't check " + fmt.friendly_name.lower())
493491

0 commit comments

Comments
 (0)