ruff/crates/ruff_linter
Alex Waygood 792ec3e96e
Improve docs on how to stop Ruff and ty disagreeing with each other (#21644)
## Summary

Lots of Ruff rules encourage you to make changes that might then cause
ty to start complaining about Liskov violations. Most of these Ruff
rules already refrain from complaining about a method if they see that
the method is decorated with `@override`, but this usually isn't
documented. This PR updates the docs of many Ruff rules to note that
they refrain from complaining about `@override`-decorated methods, and
also adds a similar note to the ty `invalid-method-override`
documentation.

Helps with
https://github.com/astral-sh/ty/issues/1644#issuecomment-3581663859

## Test Plan

- `uvx prek run -a` locally
- CI on this PR
2025-11-27 08:18:21 +00:00
..
resources [`flake8-bandit`] Handle string literal bindings in suspicious-url-open-usage (`S310`) (#21469) 2025-11-26 09:21:50 +00:00
src Improve docs on how to stop Ruff and ty disagreeing with each other (#21644) 2025-11-27 08:18:21 +00:00
Cargo.toml Bump 0.14.6 (#21558) 2025-11-21 09:00:56 -05:00