Skip to content

Apply redefinition fixes by source code order - #15575

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/o
Jan 18, 2025
Merged

Apply redefinition fixes by source code order#15575
charliermarsh merged 1 commit into
mainfrom
charlie/o

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Jan 18, 2025

Copy link
Copy Markdown
Member

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
@charliermarsh
charliermarsh deleted the charlie/o branch January 18, 2025 22:44
@github-actions

Copy link
Copy Markdown
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