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/bindings/python/tests/cindex/test_version.py 
clang/bindings/python/clang/cindex.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
--- tests/cindex/test_version.py        2026-03-20 22:53:51.000000 +0000
+++ tests/cindex/test_version.py        2026-03-21 03:01:43.036873 +0000
@@ -1,13 +1,12 @@
 import unittest
 import re
 from clang.cindex import Config
 
+
 class TestClangVersion(unittest.TestCase):
-
     def test_get_version_format(self):
         conf = Config()
         version = conf.get_version()
 
         self.assertTrue(version.startswith("clang version"))
         self.assertRegex(version, r"^clang version \d+\.\d+\.\d+")
-

``````````

</details>


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

Reply via email to