File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1212from git import Repo # type: ignore
1313import html
1414import github
15- import html
1615import os
1716import re
1817import 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
You can’t perform that action at this time.
0 commit comments