ruff/crates/red_knot_python_semantic/resources/mdtest/assignment
Alex Waygood 49c25993eb
[red-knot] Don't infer Todo for quite so many tuple type expressions (#17116)
## Summary

I noticed we were inferring `Todo` as the declared type for annotations
such as `x: tuple[list[int], list[int]]`. This PR reworks our annotation
parsing so that we instead infer `tuple[Todo, Todo]` for this
annotation, which is quite a bit more precise.

## Test Plan

Existing mdtest updated.
2025-04-01 15:44:02 +01:00
..
annotations.md [red-knot] Don't infer Todo for quite so many tuple type expressions (#17116) 2025-04-01 15:44:02 +01:00
augmented.md [red-knot] Use try_call_dunder for augmented assignment (#16717) 2025-03-14 20:36:09 +01:00
multi_target.md [red-knot] Port type inference tests to new test framework (#13719) 2024-10-15 11:23:46 -07:00
unbound.md Migrate some inference tests to mdtests (#14795) 2024-12-06 11:19:22 +01:00
walrus.md [red-knot] Port type inference tests to new test framework (#13719) 2024-10-15 11:23:46 -07:00