Skip to content

Conversation

@ntBre
Copy link
Contributor

@ntBre ntBre commented Jan 28, 2026

Summary

This PR stabilizes the changes from #21097 and closes #19552. Note that this has
two effects:

  • the default output format in --watch mode becomes full instead of concise
  • the --output-format flag will now be respected

So the default output is now more verbose, but the old stable behavior can be
retained by passing --output-format=concise (or any other supported format)
instead.

Test Plan

Manual testing. I think we tried to set up automated tests in an earlier PR but
decided they were too complex.

I really should have cropped these, but I'll just collapse them instead:

Screenshots

Current output, no --output-format

image

Current output, --output-format=json

The same as above, the flag has no effect

image

PR branch output, no --output-format

Default format is now full rather than concise

image

PR branch output, --output-format=json

JSON output, the flag works

image

ntBre and others added 3 commits January 28, 2026 09:13
Summary
--

Release branch for Ruff 0.15.0

Breaking changes
--
-

Behavior changes
--
-

Recoded rules
--
-

Deprecated rules
--
-

Changed rules
--
-

Removed rules
--
-

Stabilized rules
--
-

New or improved fixes
--
-

Deferred stabilizations
--
-

TODOs
--

- [ ] Drop ~~empty~~ first commit (random whitespace change to get a baseline ecosystem check executable)
- [ ] Merge with rebase-merge (**don't squash merge!!!!**)
## Summary

Similar to astral-sh/uv#15352, change default
debian distro for docker images to trixie, and bump alpine to 3.23.

Note, this should likely have the breaking change label.

Fixes #21664
Summary
--

This PR stabilizes the changes from #21097 and closes #19552. Note that this has
two effects:

- the default output format in `watch` mode becomes `full` instead of `concise`
- the `--output-format` flag will now be respected

So the default output is now more verbose, but the old stable behavior can be
retained by passing `--output-format=concise` (or any other supported format)
instead.

Test Plan
--

Manual testing. I think we tried to set up automated tests in an earlier PR but
decided they were too complex.
@ntBre ntBre changed the title Stabilize --output-format in watch mode Stabilize --output-format in --watch mode Jan 28, 2026
@ntBre ntBre added the cli Related to the command-line interface label Jan 28, 2026
@ntBre ntBre added this to the v0.15 milestone Jan 28, 2026
@ntBre ntBre requested review from amyreese and dylwil3 January 28, 2026 14:50
@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 28, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check Watch does not show output format error message from clearing too late

3 participants