mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
Tqdm longer descriptions
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ class Tqdm(tqdm):
|
||||
self.update(current - self.n)
|
||||
|
||||
@classmethod
|
||||
def truncate(cls, s, max_len=10, end=True, fill="..."):
|
||||
def truncate(cls, s, max_len=25, end=True, fill="..."):
|
||||
"""
|
||||
Guarantee len(output) < max_lenself.
|
||||
>>> truncate("hello", 4)
|
||||
|
||||
Reference in New Issue
Block a user