[clang] [llvm] Ci report script testing! (PR #113447)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 06:10:45 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 900b6369e2f5fbc229371a142fdcd28b5280dbc0...0a0de55c533b90d3c72ffa0cacda8a0982a7848a .ci/generate_test_report.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- generate_test_report.py 2024-10-23 13:06:44.000000 +0000
+++ generate_test_report.py 2024-10-23 13:10:05.617134 +0000
@@ -313,6 +313,16 @@
parser.add_argument("context", help="Annotation context to write to.")
parser.add_argument("junit_files", help="Paths to JUnit report files.", nargs="*")
args = parser.parse_args()
report, style = generate_report(args.title, args.junit_files)
- check_call(["buildkite-agent", "annotate", "--context", args.context, "--style", style, report])
+ check_call(
+ [
+ "buildkite-agent",
+ "annotate",
+ "--context",
+ args.context,
+ "--style",
+ style,
+ report,
+ ]
+ )
``````````
</details>
https://github.com/llvm/llvm-project/pull/113447
More information about the llvm-commits
mailing list