[llvm] [revert_checker] replace Phabricator URIs with GitHub URIs (PR #92102)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 04:41:22 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 e6d3a4212d20b49a8e63f11fedea79cccf261479...9184466ed86025197976274e418d014a58cbd7cb llvm/utils/revert_checker.py
``````````

</details>

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

``````````diff
--- revert_checker.py	2024-05-14 11:36:35.000000 +0000
+++ revert_checker.py	2024-05-14 11:40:58.557564 +0000
@@ -283,13 +283,11 @@
                 seen_reverts.add(revert)
                 all_reverts.append(revert)
 
     for revert in all_reverts:
         sha_prefix = (
-            "https://github.com/llvm/llvm-project/commit/"
-            if opts.review_url
-            else ""
+            "https://github.com/llvm/llvm-project/commit/" if opts.review_url else ""
         )
         sha_fmt = f"{sha_prefix}{revert.sha}"
         reverted_sha_fmt = f"{sha_prefix}{revert.reverted_sha}"
         print(f"{sha_fmt} claims to revert {reverted_sha_fmt}")
 

``````````

</details>


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


More information about the llvm-commits mailing list