[llvm] [Github Automation] Update Execute command (PR #81002)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 19:27:07 PST 2024
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 28b354a96054196cc3c50c2517b0509d0d316d42...6b4a56c0b98b9428326dcac0f1b8eff9898fa573 llvm/utils/git/github-automation.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- github-automation.py 2024-03-05 03:24:23.000000 +0000
+++ github-automation.py 2024-03-05 03:26:59.630951 +0000
@@ -622,11 +622,11 @@
for line in sys.stdin:
line.rstrip()
m = re.search(r"/cherry-pick\s*:? *(.*)", line)
if not m:
continue
-
+
args = m.group(1)
arg_list = args.split()
commits = list(map(lambda a: extract_commit_hash(a), arg_list))
return self.create_branch(commits)
``````````
</details>
https://github.com/llvm/llvm-project/pull/81002
More information about the llvm-commits
mailing list