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 HEAD~1...HEAD clang/test/bindings/python/tests/__init__.py clang/test/bindings/python/tests/cindex/__init__.py clang/test/bindings/python/tests/cindex/test_access_specifiers.py clang/test/bindings/python/tests/cindex/test_cdb.py clang/test/bindings/python/tests/cindex/test_code_completion.py clang/test/bindings/python/tests/cindex/test_comment.py clang/test/bindings/python/tests/cindex/test_cursor.py clang/test/bindings/python/tests/cindex/test_cursor_kind.py clang/test/bindings/python/tests/cindex/test_diagnostics.py clang/test/bindings/python/tests/cindex/test_enums.py clang/test/bindings/python/tests/cindex/test_exception_specification_kind.py clang/test/bindings/python/tests/cindex/test_file.py clang/test/bindings/python/tests/cindex/test_index.py clang/test/bindings/python/tests/cindex/test_lib.py clang/test/bindings/python/tests/cindex/test_linkage.py clang/test/bindings/python/tests/cindex/test_location.py clang/test/bindings/python/tests/cindex/test_rewrite.py clang/test/bindings/python/tests/cindex/test_source_range.py clang/test/bindings/python/tests/cindex/test_tls_kind.py clang/test/bindings/python/tests/cindex/test_token_kind.py clang/test/bindings/python/tests/cindex/test_tokens.py clang/test/bindings/python/tests/cindex/test_translation_unit.py clang/test/bindings/python/tests/cindex/test_type.py clang/test/bindings/python/tests/cindex/util.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- cindex/test_file.py 2025-06-25 11:43:06.000000 +0000 +++ cindex/test_file.py 2025-06-25 11:46:08.897601 +0000 @@ -6,10 +6,11 @@ Config.set_library_path(os.environ["CLANG_LIBRARY_PATH"]) import unittest inputs_dir = os.path.join(os.path.dirname(__file__), "INPUTS") + class TestFile(unittest.TestCase): def test_file(self): index = Index.create() tu = index.parse("t.c", unsaved_files=[("t.c", "")]) `````````` </details> https://github.com/llvm/llvm-project/pull/142948 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits