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_code_completion.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
--- test_code_completion.py     2026-01-30 13:27:32.000000 +0000
+++ test_code_completion.py     2026-01-30 13:29:24.829266 +0000
@@ -232,11 +232,12 @@
         kind_keys = list(CompletionChunk.SPELLING_CACHE)
         self.assertEqual(len(kind_keys), 13)
         for kind_key in kind_keys:
             with warnings.catch_warnings(record=True):
                 self.assertEqual(
-                    SPELLING_CACHE[kind_key.value], 
CompletionChunk.SPELLING_CACHE[kind_key]
+                    SPELLING_CACHE[kind_key.value],
+                    CompletionChunk.SPELLING_CACHE[kind_key],
                 )
 
     def test_spelling_cache_missing_attribute(self):
         # Test that accessing missing attributes on SpellingCacheAlias raises
         # during the transitionary period

``````````

</details>


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

Reply via email to