[Lldb-commits] [lldb] [lldb] Add support for NoneType to decorator skipIfBuildType (PR #145342)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 23 08:44:17 PDT 2025


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 HEAD~1...HEAD lldb/packages/Python/lldbsuite/test/decorators.py
``````````

</details>

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

``````````diff
--- decorators.py	2025-06-23 15:41:20.000000 +0000
+++ decorators.py	2025-06-23 15:43:28.865646 +0000
@@ -1153,9 +1153,9 @@
 
     Supported types include 'Release', 'RelWithDebInfo', 'Debug', 'MinSizeRel'.
     """
     types = [name.lower() for name in types]
     return unittest.skipIf(
-        configuration.cmake_build_type is not None and
-        configuration.cmake_build_type.lower() in types,
+        configuration.cmake_build_type is not None
+        and configuration.cmake_build_type.lower() in types,
         "skip on {} build type(s)".format(", ".join(types)),
     )

``````````

</details>


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


More information about the lldb-commits mailing list