Skip to content

Conversation

@MichaReiser
Copy link
Member

Summary

This is a follow up to #20689

The --show-settings snapshot account for about 40% of the code in lint.rs.
This PR moves those snapshots to file-snapshots to reduce the overall size of the file, which,
IMO improves overall readability (and my editor stops complaining that the file is over 5000 lines long).

Test Plan

cargo test

@MichaReiser MichaReiser added the testing Related to testing Ruff itself label Oct 7, 2025
@MichaReiser MichaReiser merged commit 15af4c0 into main Oct 7, 2025
36 checks passed
@MichaReiser MichaReiser deleted the show-settings branch October 7, 2025 09:42
@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

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

testing Related to testing Ruff itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants