@@ -95,7 +95,9 @@ def parse_commits(
9595 if commit != "dark" :
9696 if not hide_refs and isNewCommit :
9797 self .draw_head (commit , i , commitId )
98- self .draw_branch (commit , i , make_branches_remote = make_branches_remote )
98+ self .draw_branch (
99+ commit , i , make_branches_remote = make_branches_remote
100+ )
99101 self .draw_tag (commit , i )
100102 if (
101103 not isinstance (arrow , m .CurvedArrow )
@@ -382,7 +384,14 @@ def draw_branch(self, commit, i, make_branches_remote=False):
382384 self .is_remote_tracking_branch (branch ) # remote tracking branch
383385 and commit .hexsha == remote_tracking_branches [branch ]
384386 ):
385- text = (make_branches_remote + "/" + branch ) if (make_branches_remote and not self .is_remote_tracking_branch (branch )) else branch
387+ text = (
388+ (make_branches_remote + "/" + branch )
389+ if (
390+ make_branches_remote
391+ and not self .is_remote_tracking_branch (branch )
392+ )
393+ else branch
394+ )
386395
387396 branchText = m .Text (
388397 text , font = "Monospace" , font_size = 20 , color = self .fontColor
@@ -893,7 +902,6 @@ def reset_branch(self, hexsha, shift=numpy.array([0.0, 0.0, 0.0])):
893902 )
894903 )
895904
896-
897905 def reset_head_branch_to_ref (self , ref , shift = numpy .array ([0.0 , 0.0 , 0.0 ])):
898906 if settings .animate :
899907 self .play (self .drawnRefs ["HEAD" ].animate .next_to (ref , m .UP ))
@@ -1071,7 +1079,6 @@ def create_zone_text(
10711079 thirdColumnTitle ,
10721080 horizontal2 ,
10731081 ):
1074-
10751082 for i , f in enumerate (firstColumnFileNames ):
10761083 text = (
10771084 m .Text (
0 commit comments