-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ty] Add --no-progress option
#21063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Diagnostic diff on typing conformance testsNo changes detected when running ty on typing conformance tests ✅ |
|
AlexWaygood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
| pub(crate) fn with_verbosity(self, verbosity: VerbosityLevel) -> Self { | ||
| pub(crate) fn new(verbosity: VerbosityLevel, no_progress: bool) -> Self { |
There was a problem hiding this comment.
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 :)
There was a problem hiding this comment.
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
Summary
Add a
--no-progressoption 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