astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Update snapshots
amy/ruffen-mdtests-mapped
2 hours ago
Support Quarto Markdown language markers (#22947) See [this comment](https://github.com/astral-sh/ruff/pull/22470#issuecomment-3818540650) from #22470. Also related to #6140. ## Summary Add support for formatting code blocks with curly brace syntax (e.g., \`\`\`{python}, \`\`\`{py}, \`\`\`{pyi}) in Markdown files. This syntax is commonly used in tools like Quarto and R Markdown. The regex pattern now matches both the standard syntax (\`\`\`python) and the curly brace variant (\`\`\`{python}). ## Test Plan Added test cases. Fix #22951 --------- Co-authored-by: Amethyst Reese <amethyst@n7.gg>
main
2 hours ago
Explain how to enable Markdown formatting for pre-commit hook (#23077) ## Summary When running Ruff through pre-commit, since [`types_or` does not include `markdown`](https://github.com/astral-sh/ruff-pre-commit/blob/0470f7c8a653e950f7cc5a653204ceb3fde4c02a/.pre-commit-hooks.yaml#L17), Markdown files are not included. I believe it could be useful to indicate what needs be done in that case. We could also set `markdown` to `ruff-format` hook, but we probably don't want to do that until the feature is stable? ## Test Plan Tested the hook locally on a project using Markdown files. For the documentation, checked it locally: <img width="1058" height="259" alt="image" src="https://github.com/user-attachments/assets/251a67e2-e1f7-4357-ba0c-52d6f65fe39a" />
main
2 hours ago
Document quarto style, add example for py/pyi style
tvatter:markdown-curly-brace-syntax
3 hours ago
Merge branch 'main' into fix/21648-perf401-unpacking
Jkhall81:fix/21648-perf401-unpacking
4 hours ago
fix clippy
chirizxc:sq-S1244
4 hours ago
update
chirizxc:sq-S1244
4 hours ago
[ty] Relax TypeVarTuple defaults and callable paramspec handling Accept TypeVarTuple defaults without version gating and avoid misclassifying starred TypeVarTuple parameters in Callable signatures. This removes false positives in conformance results and keeps mdtests aligned with current behavior.
bxff:feat/typevartuple-support
4 hours ago
Active Branches
Apply ruff formatting to mdtests
last run
2 hours ago
#22935
CodSpeed Performance Gauge
0%
perflint: support tuple unpacking in PERF401
last run
4 hours ago
#22450
CodSpeed Performance Gauge
0%
[`ruff`] New rule float-comparison (`RUF069`)
last run
4 hours ago
#20585
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs