@@ -352,7 +352,6 @@ def verify_signature(
352352 branch_name : str
353353 Branch name of the pull request.
354354 """
355- print (f'HELP: name: { name } , email: { email } ' )
356355 if run_local :
357356 return True
358357
@@ -581,8 +580,8 @@ def create_translations_pr(
581580 # lang_prefix = [f"/{lp}/" for lp in all_languages]
582581 print ("\n \n ### Checking files found in source but not in translations" )
583582 for root , _dirs , files in os .walk (src_path ):
584- for name in files :
585- file_path = str (os .path .join (root , name )).replace (str (src_path ), "" )
583+ for fname in files :
584+ file_path = str (os .path .join (root , fname )).replace (str (src_path ), "" )
586585 # if file_path not in trans_files and check:
587586 if file_path not in trans_files :
588587 source_copy = str (src_path ) + file_path
@@ -902,11 +901,7 @@ def create_status_file(
902901 run (["git" , "checkout" , "main" ], cwd = base_translations_path )
903902 run (["git" , "checkout" , "-b" , "add/status-file" ], cwd = base_translations_path )
904903 with open (f"{ base_translations_path } /status.yml" , "w" ) as fh :
905- fh .write (
906- yaml .dump (
907- status , default_flow_style = False , allow_unicode = True
908- )
909- )
904+ fh .write (yaml .dump (status , default_flow_style = False , allow_unicode = True ))
910905
911906 branch_name = "add/status-file"
912907 pr_title = "Add/update status file."
0 commit comments