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 1809d0fa1c15b16ca94381d8be3ef70c4a83c36b...433f6efa4657494c9b9a5581f3fa2b5b2299ff24 lldb/test/API/commands/settings/use_source_cache/TestUseSourceCache.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- TestUseSourceCache.py 2024-10-09 05:16:23.000000 +0000 +++ TestUseSourceCache.py 2024-10-09 05:19:58.741190 +0000 @@ -51,17 +51,18 @@ # Regardless of whether the file is changed, its original contents should be displayed. self.expect("step", patterns=["-> .+ int x5 ="]) if not is_cache_enabled: self.assertTrue( - is_file_overwritten, "Source cache is disabled, but writing to file failed" + is_file_overwritten, + "Source cache is disabled, but writing to file failed", ) def overwriteFile(self, src): """Write to file and return true iff file was successfully written.""" try: - f = open(src, "w") + f = open(src, "w") f.writelines(["// hello world\n"]) f.close() return True except Exception: return False `````````` </details> https://github.com/llvm/llvm-project/pull/111237 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits