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
f740366fa68d3cfceda7efe2d573348253fbb1e9...a3596bf357ef991abcaef04f8811958c0984d9f6
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- run-clang-tidy.py 2024-02-20 20:11:26.000000 +0000
+++ run-clang-tidy.py 2024-02-20 20:38:39.825570 +0000
@@ -471,11 +471,14 @@
# Remove source file to be ignored from database.
if args.source_ignore:
try:
source_ignore_re = re.compile(args.source_ignore)
except:
- print("Error: unable to compile regex from arg -source-ignore.",
file=sys.stderr)
+ print(
+ "Error: unable to compile regex from arg -source-ignore.",
+ file=sys.stderr,
+ )
sys.exit(1)
files = {f for f in files if not source_ignore_re.match(f)}
max_task = args.j
if max_task == 0:
``````````
</details>
https://github.com/llvm/llvm-project/pull/82416
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits