ruff/crates/ruff_linter
Charlie Marsh cbd9157bbf
Use function range for no-self-use (#8637)
Previously, this rule used the range of the `self` annotation, but it's
a lot more natural to use the range of the function name (since it also
means the `# noqa` is associated with the method rather than its first
argument).

Closes https://github.com/astral-sh/ruff/issues/8635.
2023-11-12 16:37:52 -05:00
..
resources/test Omit unrolled augmented assignments in PIE794 (#8634) 2023-11-12 20:40:33 +00:00
src Use function range for no-self-use (#8637) 2023-11-12 16:37:52 -05:00
Cargo.toml Prepare release 0.1.5 (#8570) 2023-11-08 16:00:57 -06:00