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 735a5f67e351fc072a9f7c18b030036681f7935a...fb2d704c3dfe8d30c72eba4e848d0404d7349ec9 clang/tools/scan-build-py/tests/unit/test_report.py libcxx/test/libcxx/clang_modules_include.gen.py libcxx/utils/libcxx/test/features.py mlir/python/mlir/dialects/tensor.py mlir/test/python/dialects/sparse_tensor/dialect.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- libcxx/test/libcxx/clang_modules_include.gen.py 2024-10-02 09:35:41.000000 +0000 +++ libcxx/test/libcxx/clang_modules_include.gen.py 2024-10-02 09:41:52.824950 +0000 @@ -18,11 +18,12 @@ import sys sys.path.append(sys.argv[1]) from libcxx.header_information import lit_header_restrictions, public_headers for header in public_headers: - print(f"""\ + print( + f"""\ //--- {header}.compile.pass.cpp // RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only // GCC doesn't support -fcxx-modules // UNSUPPORTED: gcc @@ -41,11 +42,12 @@ // UNSUPPORTED: LIBCXX-PICOLIBC-FIXME {lit_header_restrictions.get(header, '')} #include <{header}> -""") +""" + ) print( f"""\ //--- import_std.compile.pass.mm // RUN: %{{cxx}} %s %{{flags}} %{{compile_flags}} -fmodules -fcxx-modules -fmodules-cache-path=%t -fsyntax-only `````````` </details> https://github.com/llvm/llvm-project/pull/110503 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits