[llvm] [workflows] Create a more descriptive title and body when creating a … (PR #80396)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 23:55:33 PST 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 dee8786f70a3d62b639113343fa36ef55bdbad63...5c1774f408b2c45a353a2a5a538d25a2787e384a llvm/utils/git/github-automation.py
``````````

</details>

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

``````````diff
--- github-automation.py	2024-02-02 07:48:24.000000 +0000
+++ github-automation.py	2024-02-02 07:55:26.398912 +0000
@@ -543,11 +543,13 @@
         self, repo: github.Repository.Repository, head: str
     ) -> bool:
         pulls = repo.get_pulls(head=head)
         return pulls.totalCount != 0
 
-    def create_pull_request(self, owner: str, repo_name: str, branch: str, commits: List[str]) -> bool:
+    def create_pull_request(
+        self, owner: str, repo_name: str, branch: str, commits: List[str]
+    ) -> bool:
         """
         Create a pull request in `self.repo_name`.  The base branch of the
         pull request will be chosen based on the the milestone attached to
         the issue represented by `self.issue_number`  For example if the milestone
         is Release 13.0.1, then the base branch will be release/13.x. `branch`

``````````

</details>


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


More information about the llvm-commits mailing list