ruff/crates/ruff_linter
Steve C a99832088a
[ruff] - extend comment deletions for unused-noqa (RUF100) (#13105)
## Summary

Extends deletions for RUF100, deleting trailing text from noqa
directives, while preserving upcoming comments on the same line if any.

In cases where it deletes a comment up to another comment on the same
line, the whitespace between them is now shown to be in the autofix in
the diagnostic as well. Leading whitespace before the removed comment is
not, though.

Fixes #12251 

## Test Plan

`cargo test`
2024-08-29 10:50:16 +05:30
..
resources [ruff] - extend comment deletions for unused-noqa (RUF100) (#13105) 2024-08-29 10:50:16 +05:30
src [ruff] - extend comment deletions for unused-noqa (RUF100) (#13105) 2024-08-29 10:50:16 +05:30
__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.2 (#13056) 2024-08-22 18:59:27 +05:30