Add YAPF style + ignore, and format tracked Python files
This commit is contained in:
@@ -10,12 +10,15 @@ import sys
|
||||
|
||||
from models import ProgressBar
|
||||
|
||||
|
||||
_BAR = ProgressBar()
|
||||
|
||||
|
||||
def print_progress(
|
||||
filename: str, current: int, total: int, speed: float = 0, end: str = "\r"
|
||||
filename: str,
|
||||
current: int,
|
||||
total: int,
|
||||
speed: float = 0,
|
||||
end: str = "\r"
|
||||
) -> None:
|
||||
_BAR.update(
|
||||
downloaded=int(current),
|
||||
|
||||
Reference in New Issue
Block a user