ruff/crates/ty
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
..
docs Improve docs on how to stop Ruff and ty disagreeing with each other (#21644) 2025-11-27 08:18:21 +00:00
src [ty] Add 'remove unused ignore comment' code action (#21582) 2025-11-25 08:08:21 -05:00
tests [ty] Add hint about resolved Python version when a user attempts to import a member added on a newer version (#21615) 2025-11-24 15:12:01 +00:00
CONTRIBUTING.md Fix link typo in ty's CONTRIBUTING.md (#18923) 2025-06-24 20:23:31 +00:00
Cargo.toml [ty] Support LSP client settings (#19614) 2025-08-06 18:37:21 +05:30
README.md [ty] contribution guide (#18061) 2025-05-13 10:55:01 +02:00
build.rs [ty] Fix server version (#19284) 2025-07-14 09:06:34 +02:00

README.md

ty

ty is an extremely fast type checker. Currently, it is a work-in-progress and not ready for production use.

The Rust code for ty lives in this repository; see CONTRIBUTING.md for more information on contributing to ty.

See the ty repo for ty documentation and releases.