@@ -75,8 +75,8 @@ def __init__(self, fd: types.IO = sys.stderr,
7575 # Check if it should overwrite the current line (suitable for
7676 # iteractive terminals) or write line breaks (suitable for log files)
7777 if line_breaks is None :
78- line_breaks = utils .env_flag ('PROGRESSBAR_LINE_BREAKS' , not
79- self .is_terminal )
78+ line_breaks = utils .env_flag ('PROGRESSBAR_LINE_BREAKS' ,
79+ not self .is_terminal )
8080 self .line_breaks = line_breaks
8181
8282 # Check if ANSI escape characters are enabled (suitable for iteractive
@@ -155,8 +155,8 @@ def finish(self): # pragma: no cover
155155
156156class StdRedirectMixin (DefaultFdMixin ):
157157
158- def __init__ (self , redirect_stderr : bool = False , redirect_stdout :
159- bool = False , ** kwargs ):
158+ def __init__ (self , redirect_stderr : bool = False ,
159+ redirect_stdout : bool = False , ** kwargs ):
160160 DefaultFdMixin .__init__ (self , ** kwargs )
161161 self .redirect_stderr = redirect_stderr
162162 self .redirect_stdout = redirect_stdout
@@ -487,8 +487,8 @@ def data(self):
487487 # The seconds since the bar started
488488 total_seconds_elapsed = total_seconds_elapsed ,
489489 # The seconds since the bar started modulo 60
490- seconds_elapsed = (elapsed .seconds % 60 ) +
491- (elapsed .microseconds / 1000000. ),
490+ seconds_elapsed = (elapsed .seconds % 60 )
491+ + (elapsed .microseconds / 1000000. ),
492492 # The minutes since the bar started modulo 60
493493 minutes_elapsed = (elapsed .seconds / 60 ) % 60 ,
494494 # The hours since the bar started modulo 24
0 commit comments