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 7c581b554efa7c720b780f721877107ae0fc78ff...b5e6e4ab15692a5d4ec3e1bc4d04c9c98f572d08 lldb/packages/Python/lldbsuite/test/dotest.py lldb/test/API/lit.cfg.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- packages/Python/lldbsuite/test/dotest.py 2024-04-23 08:33:40.000000 +0000 +++ packages/Python/lldbsuite/test/dotest.py 2024-04-23 13:27:12.076722 +0000 @@ -336,12 +336,12 @@ ) if args.E: args_list = args.E.split(":") # Remove first 'start' argument, as we need it was needed to pass as argument to '-E' - if (args_list[0] == "start"): - args_list = args_list[1:] + if args_list[0] == "start": + args_list = args_list[1:] os.environ["CFLAGS_EXTRAS"] = " ".join(args_list) if args.dwarf_version: configuration.dwarf_version = args.dwarf_version --- test/API/lit.cfg.py 2024-04-23 08:33:40.000000 +0000 +++ test/API/lit.cfg.py 2024-04-23 13:27:12.186899 +0000 @@ -305,11 +305,11 @@ lldb_test_extra_flags = lit_config.params.get("extra_flags") if lldb_test_extra_flags: # FIXME: dotest does not support several -E options. # FIXME: start in the beginning is a workaround to make sure command not start with '--' - dotest_cmd += ["-E", rf'start:{lldb_test_extra_flags}'] + dotest_cmd += ["-E", rf"start:{lldb_test_extra_flags}"] lldb_test_skip_categories = lit_config.params.get("skip_categories") if lldb_test_skip_categories: for skip_category in lldb_test_skip_categories.split(":"): `````````` </details> https://github.com/llvm/llvm-project/pull/89764 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits