[red-knot] Improve the style of various mdtests #14839
Labels
help wanted
Contributions especially welcome
red-knot
Multi-file analysis & type inference
testing
Related to testing Ruff itself
We have a lot of mdtests in red-knot that have this pattern in them to create instance types:
Now that #14802 has landed, however, we don't need nearly as much boilerplate in our tests. Instead, we can do something much more elegant:
We should go through all the Python snippets in https://github.com/astral-sh/ruff/tree/main/crates/red_knot_python_semantic/resources/mdtest to reduce the boilerplate in our mdtests.
The text was updated successfully, but these errors were encountered: