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...6ea11737a9edbf1a1be413c2eaa7075438effb05
 lldb/test/API/python_api/find_in_memory/TestFindInMemory.py 
lldb/test/API/python_api/find_in_memory/TestFindRangesInMemory.py 
lldb/test/API/python_api/find_in_memory/address_ranges_helper.py
``````````

</details>

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

``````````diff
--- address_ranges_helper.py    2024-10-11 05:32:07.000000 +0000
+++ address_ranges_helper.py    2024-10-11 05:43:44.147378 +0000
@@ -25,23 +25,23 @@
     addr_ranges.Append(GetStackRange(test_base))
     return addr_ranges
 
 
 def GetRangeFromAddrValue(test_base, addr, shrink=False):
-    """ Return the address range containing 'addr'.
-        If 'shrink' is True, the size of the region will not exceed 2K.
+    """Return the address range containing 'addr'.
+    If 'shrink' is True, the size of the region will not exceed 2K.
     """
     region = lldb.SBMemoryRegionInfo()
     test_base.assertTrue(
         test_base.process.GetMemoryRegionInfo(
             addr.GetValueAsUnsigned(), region
         ).Success(),
     )
 
     test_base.assertTrue(region.IsReadable())
     test_base.assertFalse(region.IsExecutable())
-    
+
     base = region.GetRegionBase()
     end = region.GetRegionEnd()
 
     if shrink:
         addr2 = addr.GetValueAsUnsigned()

``````````

</details>


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

Reply via email to