[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
Fri Dec 1 06:41:02 PST 2023


================
@@ -128,29 +150,47 @@ def filter_changed_files(self, changed_files: list[str]) -> list[str]:
                 filtered_files.append(path)
         return filtered_files
 
-    def format_run(
-        self, changed_files: list[str], args: argparse.Namespace
-    ) -> str | None:
+    @property
----------------
tru wrote:

Will fix.

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


More information about the llvm-commits mailing list