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 cc7a18c18011d1e0c70187ceb60e3e69bf7cd0ee...82f120f207a4a9425cdbccafdba8974bc00ffc51 clang/bindings/python/clang/cindex.py clang/bindings/python/tests/cindex/test_enums.py clang/bindings/python/tests/cindex/test_token_kind.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- clang/cindex.py 2024-06-24 16:45:44.000000 +0000 +++ clang/cindex.py 2024-06-24 16:49:25.859947 +0000 @@ -600,11 +600,11 @@ @classmethod def from_value(cls, value): """Obtain a registered TokenKind instance from its value.""" return cls.from_id(value) - + PUNCTUATION = 0 KEYWORD = 1 IDENTIFIER = 2 LITERAL = 3 COMMENT = 4 `````````` </details> https://github.com/llvm/llvm-project/pull/95608 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits