mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
## Summary I wondered if this might improve performance a little. It doesn't seem to, but it's a net reduction in LOC and I think the changes make sense. I think it's worth it anyway just in terms of simplifying the code. ## Test Plan Our existing tests all pass and the primer report is clean (aside from our usual flakes).
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/ty_test/README.md for documentation of this test format.