[clang] [llvm] Test 142948, please ignore (PR #144873)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 13:39:56 PDT 2025
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/bindings/python/clang/cindex.py 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
--- bindings/python/clang/cindex.py 2025-06-22 20:36:55.000000 +0000
+++ bindings/python/clang/cindex.py 2025-06-22 20:39:18.065211 +0000
@@ -2542,11 +2542,10 @@
OCLIMAGE3DRW = 156
OCLSAMPLER = 157
OCLEVENT = 158
OCLQUEUE = 159
OCLRESERVEID = 160
-
OBJCOBJECT = 161
OBJCTYPEPARAM = 162
ATTRIBUTED = 163
--- test/bindings/python/tests/cindex/test_file.py 2025-06-22 20:36:55.000000 +0000
+++ test/bindings/python/tests/cindex/test_file.py 2025-06-22 20:39:18.510768 +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/144873
More information about the llvm-commits
mailing list