Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch to trigger format error #1018

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Patch to trigger format error #1018

wants to merge 3 commits into from

Conversation

tstellar
Copy link
Owner

No description provided.

Copy link

github-actions bot commented May 31, 2024

⚠️ Python code formatter, darker found issues in your code. ⚠️

You can test this locally with the following command:
darker --check --diff -r d093e409eb61b17ba336dfdfd57c4434249b6d5b...a78406a5dc7df5f0c595230e70e968dcde23e305 llvm/utils/git/github-automation.py
View the diff from darker here.
--- github-automation.py	2024-05-31 18:11:02.000000 +0000
+++ github-automation.py	2024-05-31 18:14:08.936763 +0000
@@ -94,11 +94,11 @@
         self.issue.create_comment(comment)
         return True
 
 
 def human_readable_size(size, decimal_places=2):
-    for unit in ['B', "KiB", "MiB", "GiB", "TiB", "PiB"]:
+    for unit in ["B", "KiB", "MiB", "GiB", "TiB", "PiB"]:
         if size < 1024.0 or unit == "PiB":
             break
         size /= 1024.0
     return f"{size:.{decimal_places}f} {unit}"
 

@tstellar tstellar force-pushed the format-error branch 2 times, most recently from 38879a9 to 0fd9b4f Compare May 31, 2024 00:40
This adds a new composite workflow that allows you to download
artifacts from other workflows without using an access token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant