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 origin/main...HEAD 
clang-tools-extra/test/clang-tidy/check_clang_tidy.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- check_clang_tidy.py 2025-11-28 12:39:31.000000 +0000
+++ check_clang_tidy.py 2025-11-28 12:44:51.235247 +0000
@@ -396,12 +396,12 @@
 
     return (args, extra_args)
 
 
 def main() -> None:
-    sys.stdout.reconfigure(encoding='utf-8')
-    sys.stderr.reconfigure(encoding='utf-8')
+    sys.stdout.reconfigure(encoding="utf-8")
+    sys.stderr.reconfigure(encoding="utf-8")
     args, extra_args = parse_arguments()
 
     abbreviated_stds = args.std
     for abbreviated_std in abbreviated_stds:
         for std in expand_std(abbreviated_std):

``````````

</details>


https://github.com/llvm/llvm-project/pull/169215
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to