Skip to content

Stabilize Markdown formatting - #27018

Merged
ntBre merged 1 commit into
brent/0.16.0from
brent/stabilize-markdown-formatting
Jul 21, 2026
Merged

ntBre merged 1 commit into
brent/0.16.0from
brent/stabilize-markdown-formatting

Conversation

@ntBre

@ntBre ntBre commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR stabilizes the Markdown formatting initially added in #22470. It also reverts much of the
error plumbing in the LSP that was added in #24150. I considered keeping the
FormatResult::PreviewOnly variant but went ahead and dropped it since it was unused.

Closes #26866.

Test Plan

Updated existing snapshots, dropping --preview in some cases

Summary
--

This PR stabilizes the Markdown formatting initially added in #22470. It also reverts much of the
error plumbing in the LSP that was added in #24150. I considered keeping the
`FormatResult::PreviewOnly` variant but went ahead and dropped it since it was unused.

Closes #26866.

Test Plan
--

Updated existing snapshots, dropping `--preview` in some cases
@ntBre ntBre added this to the v0.16 milestone Jul 20, 2026
@ntBre ntBre added the formatter Related to the Ruff formatter label Jul 20, 2026
@astral-sh-bot

astral-sh-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre
ntBre marked this pull request as ready for review July 20, 2026 20:11
@ntBre
ntBre requested a review from MichaReiser July 20, 2026 20:11
@ntBre ntBre mentioned this pull request Jul 21, 2026
2 tasks done
@ntBre
ntBre merged commit c6519be into brent/0.16.0 Jul 21, 2026
47 checks passed
@ntBre
ntBre deleted the brent/stabilize-markdown-formatting branch July 21, 2026 12:38
ntBre added a commit that referenced this pull request Jul 21, 2026
Summary
--

This PR stabilizes the Markdown formatting initially added in #22470. It
also reverts much of the
error plumbing in the LSP that was added in #24150. I considered keeping
the
`FormatResult::PreviewOnly` variant but went ahead and dropped it since
it was unused.

Closes #26866.

Test Plan
--

Updated existing snapshots, dropping `--preview` in some cases
ntBre added a commit that referenced this pull request Jul 21, 2026
Summary
--

This should fix the CI failures I was seeing in #27035:


https://github.com/astral-sh/ruff/actions/runs/29854835643/job/88716871906?pr=27035

I guess this didn't appear in #27018 because no formatter files were
modified.

Test Plan
--

CI on this PR, success:
https://github.com/astral-sh/ruff/actions/runs/29861350490/job/88738651835?pr=27052
ntBre added a commit that referenced this pull request Jul 22, 2026
Summary
--

This should fix the CI failures I was seeing in #27035:


https://github.com/astral-sh/ruff/actions/runs/29854835643/job/88716871906?pr=27035

I guess this didn't appear in #27018 because no formatter files were
modified.

Test Plan
--

CI on this PR, success:
https://github.com/astral-sh/ruff/actions/runs/29861350490/job/88738651835?pr=27052
ntBre added a commit that referenced this pull request Jul 23, 2026
Summary
--

This PR stabilizes the Markdown formatting initially added in #22470. It
also reverts much of the
error plumbing in the LSP that was added in #24150. I considered keeping
the
`FormatResult::PreviewOnly` variant but went ahead and dropped it since
it was unused.

Closes #26866.

Test Plan
--

Updated existing snapshots, dropping `--preview` in some cases
ntBre added a commit that referenced this pull request Jul 23, 2026
Summary
--

This should fix the CI failures I was seeing in #27035:


https://github.com/astral-sh/ruff/actions/runs/29854835643/job/88716871906?pr=27035

I guess this didn't appear in #27018 because no formatter files were
modified.

Test Plan
--

CI on this PR, success:
https://github.com/astral-sh/ruff/actions/runs/29861350490/job/88738651835?pr=27052
ntBre added a commit that referenced this pull request Jul 23, 2026
Summary
--

This PR stabilizes the Markdown formatting initially added in #22470. It
also reverts much of the
error plumbing in the LSP that was added in #24150. I considered keeping
the
`FormatResult::PreviewOnly` variant but went ahead and dropped it since
it was unused.

Closes #26866.

Test Plan
--

Updated existing snapshots, dropping `--preview` in some cases
ntBre added a commit that referenced this pull request Jul 23, 2026
Summary
--

This should fix the CI failures I was seeing in #27035:


https://github.com/astral-sh/ruff/actions/runs/29854835643/job/88716871906?pr=27035

I guess this didn't appear in #27018 because no formatter files were
modified.

Test Plan
--

CI on this PR, success:
https://github.com/astral-sh/ruff/actions/runs/29861350490/job/88738651835?pr=27052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

formatter Related to the Ruff formatter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants