mirror of https://github.com/astral-sh/ruff
## 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 |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| Cargo.toml | ||