[llvm] [IN PROGRESS] Fix premerge script so certain projects appear in LLVM_ENABLE_RUNTIMES. (PR #145754)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 11:10:57 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 .ci/compute_projects.py
``````````

</details>

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

``````````diff
--- compute_projects.py	2025-06-25 18:05:01.000000 +0000
+++ compute_projects.py	2025-06-25 18:10:31.543987 +0000
@@ -207,11 +207,11 @@
     runtimes_to_test = set()
     for modified_project in modified_projects:
         if modified_project in DEPENDENT_RUNTIMES_TO_TEST:
             runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[modified_project])
         if modified_project in RUNTIMES:
-          runtimes_to_test.add(modified_project)
+            runtimes_to_test.add(modified_project)
     return _exclude_projects(runtimes_to_test, platform)
 
 
 def _compute_runtimes_to_test_needs_reconfig(
     modified_projects: Set[str], platform: str

``````````

</details>


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


More information about the llvm-commits mailing list