Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply redefinition fixes by source code order #15575

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Apply redefinition fixes by source code order #15575

merged 1 commit into from
Jan 18, 2025

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jan 18, 2025

Summary

Right now, these are being applied in random order, since if we have two RedefinitionWhileUnused, it just takes the first-generated (whereas the next comparator in the sort here orders by location)... Which means we frequently have to re-run!

@charliermarsh charliermarsh added bug Something isn't working fixes Related to suggested fixes for violations labels Jan 18, 2025
@charliermarsh charliermarsh merged commit 6004c8c into main Jan 18, 2025
21 checks passed
@charliermarsh charliermarsh deleted the charlie/o branch January 18, 2025 22:44
Copy link
Contributor

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
bug Something isn't working fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant