[llvm] [workflows] Fix release note request workflow (PR #94784)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 11:16:17 PDT 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 5e0fc93d01c216544c12b60c30fe8ac6c9931eb9...31751bad57f1003f3841ca6a16b811e19df1d08e llvm/utils/git/github-automation.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- github-automation.py 2024-06-07 18:01:16.000000 +0000
+++ github-automation.py 2024-06-07 18:15:52.382818 +0000
@@ -657,13 +657,11 @@
try:
pr.as_issue().create_comment(comment)
except:
# Failed to create comment so emit file instead
with open("comments", "w") as file:
- data = [
- {"body" : comment}
- ]
+ data = [{"body": comment}]
json.dump(data, file)
parser = argparse.ArgumentParser()
parser.add_argument(
``````````
</details>
https://github.com/llvm/llvm-project/pull/94784
More information about the llvm-commits
mailing list