Skip to content

Fix empty body rule rendering#2701

Closed
stefanvanburen wants to merge 1 commit intoastral-sh:mainfrom
stefanvanburen:svanburen/empty-body-rule-render
Closed

Fix empty body rule rendering#2701
stefanvanburen wants to merge 1 commit intoastral-sh:mainfrom
stefanvanburen:svanburen/empty-body-rule-render

Conversation

@stefanvanburen
Copy link

Without the extra newline here, the bullets don't become a list and instead are mashed into the previous paragraph.

Ref: https://docs.astral.sh/ty/reference/rules/#empty-body

Without the extra newline here, the bullets don't become a list and
instead are mashed into the previous paragraph.

Ref: https://docs.astral.sh/ty/reference/rules/#empty-body
@stefanvanburen
Copy link
Author

Ah, I see this should go upstream to ruff instead: https://github.com/astral-sh/ruff/blob/8d78aa64174e79cf31fa564a80a466c18896202d/crates/ty/docs/rules.md?plain=1#L512-L513

@stefanvanburen
Copy link
Author

astral-sh/ruff#23039

@stefanvanburen stefanvanburen deleted the svanburen/empty-body-rule-render branch February 2, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant