Skip to content

Commit

Permalink
Use single compact time column
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Mar 11, 2022
1 parent eaa7a63 commit 6c0d11b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ install_requires=
importlib_metadata >= 3.6
keyring >= 15.1
rfc3986 >= 1.4.0
rich
rich >= 12.0.0
include_package_data = True

[options.entry_points]
Expand Down
6 changes: 4 additions & 2 deletions twine/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,10 @@ def _upload(self, package: package_file.PackageFile) -> requests.Response:
rich.progress.BarColumn(),
rich.progress.DownloadColumn(),
"•",
rich.progress.TimeElapsedColumn(),
rich.progress.TimeRemainingColumn(),
rich.progress.TimeRemainingColumn(
compact=True,
elapsed_when_finished=True,
),
"•",
rich.progress.TransferSpeedColumn(),
disable=self.disable_progress_bar,
Expand Down

0 comments on commit 6c0d11b

Please sign in to comment.