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 
b6b0a240d0b51ce85624a65c6e43f501371bc61b...7e5ff53e8dc56e15f84c3868a25a779be54a22f0
 clang/bindings/python/clang/cindex.py 
clang/bindings/python/tests/cindex/test_exception_specification_kind.py
``````````

</details>

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

``````````diff
--- tests/cindex/test_exception_specification_kind.py   2024-08-01 
19:02:07.000000 +0000
+++ tests/cindex/test_exception_specification_kind.py   2024-08-01 
19:09:57.787419 +0000
@@ -31,9 +31,14 @@
         expected = [
             ("square1", ExceptionSpecificationKind.NONE),
             ("square2", ExceptionSpecificationKind.BASIC_NOEXCEPT),
             ("square3", ExceptionSpecificationKind.COMPUTED_NOEXCEPT),
         ]
-        from_cursor = [(node.spelling, node.exception_specification_kind) for 
node in declarations]
-        from_type = [(node.spelling, 
node.type.get_exception_specification_kind()) for node in declarations]
+        from_cursor = [
+            (node.spelling, node.exception_specification_kind) for node in 
declarations
+        ]
+        from_type = [
+            (node.spelling, node.type.get_exception_specification_kind())
+            for node in declarations
+        ]
         self.assertListEqual(from_cursor, expected)
         self.assertListEqual(from_type, expected)

``````````

</details>


https://github.com/llvm/llvm-project/pull/101548
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to