ruff
f40c578f - [`ruff`] document `RUF100` trailing comment fix behavior (#22479)

Commit
94 days ago
[`ruff`] document `RUF100` trailing comment fix behavior (#22479) ## Summary Ruff's `--fix` for `RUF100` can inadvertently remove trailing comments (e.g., `pylint` or `mypy` suppressions) by interpreting them as descriptions. This PR adds a "Conflict with other linters" section to the rule documentation to clarify this behavior and provide the double-hash (`# noqa # pylint`) workaround. ## Fixes Fixes #20762
Author
Parents
Loading