@@ -28,7 +28,7 @@ def pull(repo, remote_name='origin', branch='master'):
2828
2929 if repo .index .conflicts is not None :
3030 for conflict in repo .index .conflicts :
31- print ('Conflicts found in:' , conflict [0 ].path )
31+ print ('Conflicts found in:' , conflict [0 ].path ) # noqa: T201
3232 raise AssertionError ('Conflicts, ahhhhh!!' )
3333
3434 user = repo .default_signature
@@ -49,18 +49,18 @@ def pull(repo, remote_name='origin', branch='master'):
4949repo = pygit2 .Repository (repo_path )
5050ident = pygit2 .Signature ('comfyui' , 'comfy@ui' )
5151try :
52- print ("stashing current changes" )
52+ print ("stashing current changes" ) # noqa: T201
5353 repo .stash (ident )
5454except KeyError :
55- print ("nothing to stash" )
55+ print ("nothing to stash" ) # noqa: T201
5656backup_branch_name = 'backup_branch_{}' .format (datetime .today ().strftime ('%Y-%m-%d_%H_%M_%S' ))
57- print ("creating backup branch: {}" .format (backup_branch_name ))
57+ print ("creating backup branch: {}" .format (backup_branch_name )) # noqa: T201
5858try :
5959 repo .branches .local .create (backup_branch_name , repo .head .peel ())
6060except :
6161 pass
6262
63- print ("checking out master branch" )
63+ print ("checking out master branch" ) # noqa: T201
6464branch = repo .lookup_branch ('master' )
6565if branch is None :
6666 ref = repo .lookup_reference ('refs/remotes/origin/master' )
@@ -72,7 +72,7 @@ def pull(repo, remote_name='origin', branch='master'):
7272 ref = repo .lookup_reference (branch .name )
7373 repo .checkout (ref )
7474
75- print ("pulling latest changes" )
75+ print ("pulling latest changes" ) # noqa: T201
7676pull (repo )
7777
7878if "--stable" in sys .argv :
@@ -94,7 +94,7 @@ def latest_tag(repo):
9494 if latest_tag is not None :
9595 repo .checkout (latest_tag )
9696
97- print ("Done!" )
97+ print ("Done!" ) # noqa: T201
9898
9999self_update = True
100100if len (sys .argv ) > 2 :
0 commit comments