@@ -120,7 +120,7 @@ async def handle_file_upload(
120120 path = dest ,
121121 ),
122122 fg = "blue" ,
123- bold = True
123+ bold = True ,
124124 )
125125
126126 else :
@@ -154,7 +154,7 @@ async def handle_file_upload(
154154 dest = upload_response ["content" ]["path" ],
155155 ),
156156 fg = "green" ,
157- bold = True
157+ bold = True ,
158158 )
159159
160160
@@ -180,7 +180,7 @@ async def list_repos(*, session, org, token):
180180 prompt = click .style ("Enter your personal access token" , bold = True ),
181181 help = "Personal Access token with read and write access to org." ,
182182 hide_input = True ,
183- envvar = ' TOKEN' ,
183+ envvar = " TOKEN" ,
184184)
185185@click .option (
186186 "--source" ,
@@ -219,10 +219,12 @@ async def main(org, token, source, dest, overwrite, private):
219219 for r in response ["items" ]
220220 if not r ["archived" ] and can_upload (repo = r , include_private = private )
221221 ]
222- repo_type = ' public and private' if private else ' public'
222+ repo_type = " public and private" if private else " public"
223223 click .echo (
224224 click .style (
225- "Found '{}' repositories non archived {} repositories:" .format (len (repos ), repo_type ),
225+ "Found '{}' repositories non archived {} repositories:" .format (
226+ len (repos ), repo_type
227+ ),
226228 fg = "green" ,
227229 )
228230 )
@@ -238,11 +240,12 @@ async def main(org, token, source, dest, overwrite, private):
238240 )
239241 )
240242 deploy_msg = (
241- 'Deploying "{source}" to "{path}" for all repositories' .format (source = source , path = dest )
243+ 'Deploying "{source}" to "{path}" for all repositories' .format (
244+ source = source , path = dest
245+ )
242246 if overwrite
243247 else 'Deploying "{source}" to repositories that don\' t already have contents at "{path}"' .format (
244- source = source ,
245- path = dest
248+ source = source , path = dest
246249 )
247250 )
248251 click .echo (click .style (deploy_msg , fg = "blue" ))
0 commit comments