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/bindings/python/tests/cindex/test_type.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- clang/cindex.py 2025-04-11 18:32:36.000000 +0000 +++ clang/cindex.py 2025-04-11 18:47:02.361771 +0000 @@ -2591,20 +2591,22 @@ example, if 'T' is a typedef for 'int', the canonical type for 'T' would be 'int'. """ return Type.from_result(conf.lib.clang_getCanonicalType(self), (self,)) - def get_fully_qualified_name(self, policy, with_global_ns_prefix = False): + def get_fully_qualified_name(self, policy, with_global_ns_prefix=False): """ Get the fully qualified name for a type. This includes full qualification of all template parameters. policy - This PrintingPolicy can further refine the type formatting with_global_ns_prefix - If true, function will prepend a '::' to qualified names """ - return _CXString.from_result(conf.lib.clang_getFullyQualifiedName(self, policy, with_global_ns_prefix)) + return _CXString.from_result( + conf.lib.clang_getFullyQualifiedName(self, policy, with_global_ns_prefix) + ) def is_const_qualified(self): """Determine whether a Type has the "const" qualifier set. This does not look through typedefs that may have added "const" `````````` </details> https://github.com/llvm/llvm-project/pull/135420 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits