ruff/crates/ruff_linter
Alex Waygood d8debb7a36
Simplify logic for RUF027 (#12907)
## Summary

This PR is a pure refactor to simplify some of the logic for `RUF027`.
This will make it easier to file some followup PRs to help reduce the
false positives from this rule. I'm separating the refactor out into a
separate PR so it's easier to review, and so I can double-check from the
ecosystem report that this doesn't have any user-facing impact.

## Test Plan

`cargo test -p ruff_linter --lib`
2024-08-16 08:05:15 +01:00
..
resources [fastapi] Implement fast-api-unused-path-parameter (FAST003) (#12638) 2024-08-16 01:46:35 +00:00
src Simplify logic for RUF027 (#12907) 2024-08-16 08:05:15 +01:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
Cargo.toml Bump version to 0.6 (#12894) 2024-08-15 13:17:22 +01:00