Skip to content

Commit e035b74

Browse files
committed
Make ruff happy
1 parent 78b5303 commit e035b74

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

roboflow/core/version.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -818,11 +818,8 @@ def __download_zip(self, link, location, format):
818818

819819
def bar_progress(current, total, width=80):
820820
progress_message = (
821-
"Downloading Dataset Version Zip in "
822-
+ location
823-
+ " to "
824-
+ format
825-
+ ": %d%% [%d / %d] bytes" % (current / total * 100, current, total)
821+
f"Downloading Dataset Version Zip in {location} to {format}: "
822+
f"{current / total * 100:.0f}% [{current} / {total}] bytes"
826823
)
827824
sys.stdout.write("\r" + progress_message)
828825
sys.stdout.flush()

0 commit comments

Comments
 (0)