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 4b27b5800f8c94ec010213e2a4ddf552cc282bce...800010fabe3160e701ff58f7789dd9e01c80451f clang/bindings/python/clang/cindex.py clang/bindings/python/tests/cindex/test_cursor.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- tests/cindex/test_cursor.py 2024-09-15 16:08:16.000000 +0000 +++ tests/cindex/test_cursor.py 2024-09-16 16:56:50.343716 +0000 @@ -570,11 +570,12 @@ self.assertEqual(ham.kind, CursorKind.ENUM_CONSTANT_DECL) self.assertEqual(ham.enum_value, 0x10000000000) def test_enum_values_on_elaborated_type(self): tu = get_tu( - "using myUType = unsigned char; enum TEST : myUType { SPAM = 1, HAM = 0xff;", lang="cpp" + "using myUType = unsigned char; enum TEST : myUType { SPAM = 1, HAM = 0xff;", + lang="cpp", ) enum = get_cursor(tu, "TEST") self.assertIsNotNone(enum) self.assertEqual(enum.kind, CursorKind.ENUM_DECL) `````````` </details> https://github.com/llvm/llvm-project/pull/108769 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits