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 
41cece8c86399dd1ffcb6b7a8b50c10083fe5a40...2dc2ff7a51f5173073a1b9aa57a49b1800657972
 lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py 
lldb/packages/Python/lldbsuite/test/lldbreverse.py 
lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
 
lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
 
lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py
 lldb/packages/Python/lldbsuite/test/gdbclientutils.py 
lldb/packages/Python/lldbsuite/test/lldbtest.py 
lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- packages/Python/lldbsuite/test/lldbgdbproxy.py      2025-02-21 
09:49:05.000000 +0000
+++ packages/Python/lldbsuite/test/lldbgdbproxy.py      2025-02-21 
09:57:12.340560 +0000
@@ -38,11 +38,13 @@
         self.logger.propagate = False
         self.logger.setLevel(logging.DEBUG)
 
         # log all warnings to stderr
         self._stderr_log_handler = logging.StreamHandler()
-        self._stderr_log_handler.setLevel(logging.DEBUG if self.TraceOn() else 
logging.WARNING)
+        self._stderr_log_handler.setLevel(
+            logging.DEBUG if self.TraceOn() else logging.WARNING
+        )
         self._stderr_log_handler.setFormatter(self._log_formatter)
         self.logger.addHandler(self._stderr_log_handler)
 
     def setUp(self):
         TestBase.setUp(self)

``````````

</details>


https://github.com/llvm/llvm-project/pull/128156
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to