Skip to content

Commit

Permalink
chore: little improvements on the progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Oct 18, 2024
1 parent c5342ee commit 368ccbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdm/resolver/reporters.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, requirements: list[Requirement], ui: UI) -> None:

@contextmanager
def make_candidate_reporter(self, candidate: Candidate) -> Generator[CandidateReporter]:
task_id = self.progress.add_task(f"Resolving {candidate.format()}", text="")
task_id = self.progress.add_task(f"Resolving {candidate.format()}", text="", total=None)
try:
yield RichProgressReporter(self.progress, task_id)
finally:
Expand Down

0 comments on commit 368ccbe

Please sign in to comment.