ruff
792ec3e9 - Improve docs on how to stop Ruff and ty disagreeing with each other (#21644)

Commit
12 days ago
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
Author
Parents
Loading