Skip to content

Commit 1ab5ca7

Browse files
committed
Formatting
1 parent e8e769c commit 1ab5ca7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/utils/git/github-automation.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from git import Repo # type: ignore
1313
import html
1414
import github
15-
import html
1615
import os
1716
import re
1817
import requests
@@ -123,8 +122,8 @@ def run(self) -> bool:
123122
print(f"couldn't find team named {self.team_name}")
124123
return False
125124

126-
# GitHub limits comments to 65,536 characters, let's limit the diff
127-
# and the file list to 20kB each.
125+
# GitHub limits comments to 65,536 characters, let's limit the diff
126+
# and the file list to 20kB each.
128127
STAT_LIMIT = 20 * 1024
129128
DIFF_LIMIT = 20 * 1024
130129

@@ -138,9 +137,9 @@ def run(self) -> bool:
138137
diff_stats += f"-{file.deletions}"
139138
diff_stats += ") "
140139
if file.status == "renamed":
141-
print(f"(from {file.previous_filename})"
140+
print(f"(from {file.previous_filename})")
142141
diff_stats += "\n"
143-
if len(diff_stats) > STAT_LIMIT)
142+
if len(diff_stats) > STAT_LIMIT:
144143
break
145144

146145
# Get the diff

0 commit comments

Comments
 (0)