[llvm] code-format: Improve the code-format-helper to be able to run as a git hook (PR #73957)

Tobias Hieta via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 05:52:51 PST 2023


================
@@ -14,8 +14,22 @@
 import sys
 from functools import cached_property
 
-import github
-from github import IssueComment, PullRequest
+
----------------
tru wrote:

This should be fine now.

I wonder if maybe we should add a [pre-commit](https://pre-commit.com/) configuration for LLVM as well.

https://github.com/llvm/llvm-project/pull/73957


More information about the llvm-commits mailing list