Skip to content

Conversation

@MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Oct 24, 2025

Summary

Add a --no-progress option to suppress the progress bar (matching uv's interface)

Test Plan

I don't think it's possible to test this in our snapshot tests because the progress bar gets hidden for non-interactive terminals.

Screen.Recording.2025-10-24.at.16.07.32.mov

@MichaReiser MichaReiser added cli Related to the command-line interface ty Multi-file analysis & type inference labels Oct 24, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@MichaReiser MichaReiser marked this pull request as ready for review October 24, 2025 14:09
@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2025

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Comment on lines -16 to +15
pub(crate) fn with_verbosity(self, verbosity: VerbosityLevel) -> Self {
pub(crate) fn new(verbosity: VerbosityLevel, no_progress: bool) -> Self {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crushed that you changed my API :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. I still very much like the Printer API overall. It's nice to have something that's responsible to make these kind of decisions. I hope that makes up for my API change

@MichaReiser MichaReiser merged commit eb8c0ad into main Oct 24, 2025
41 checks passed
@MichaReiser MichaReiser deleted the micha/no-progress branch October 24, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to the command-line interface ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants