[Lldb-commits] [lldb] Make env and source map dictionaries #95137 (PR #106919)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 2 06:16:15 PDT 2024


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 87d904871fe96a01dfa1f254ca2a7639de67960c...d2bddca1753b4c960895f51d7eb80b6efa7dc986 lldb/test/API/tools/lldb-dap/launch/TestDAP_launch.py
``````````

</details>

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

``````````diff
--- TestDAP_launch.py	2024-09-02 13:10:06.000000 +0000
+++ TestDAP_launch.py	2024-09-02 13:15:48.484600 +0000
@@ -227,11 +227,16 @@
     def test_environment(self):
         """
         Tests launch of a simple program with environment variables
         """
         program = self.getBuildArtifact("a.out")
-        env = {"NO_VALUE": "", "WITH_VALUE":"BAR", "EMPTY_VALUE": "", "SPACE": "Hello World"}
+        env = {
+            "NO_VALUE": "",
+            "WITH_VALUE": "BAR",
+            "EMPTY_VALUE": "",
+            "SPACE": "Hello World",
+        }
         self.build_and_launch(program, env=env)
         self.continue_to_exit()
 
         # Now get the STDOUT and verify our arguments got passed correctly
         output = self.get_stdout()

``````````

</details>


https://github.com/llvm/llvm-project/pull/106919


More information about the lldb-commits mailing list