You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… can now be moved to Markdown-based tests which are more concise, easier to read, can be run without recompilation, and can contain additional prose for documentation.
An example on how to do this can be seen in this PR which moved the is_assignable_to tests (ignore the changes in property_tests.rs).
If you would like to work on this, let us know and pick one of these:
tuple_containing_never_simplifies_to_never
is_assignable_to
is_subtype_of
is_equivalent_to
is_disjoint_from
is_singleton
is_single_valued
is_fully_static
truthiness
The text was updated successfully, but these errors were encountered:
Why only one? Wouldn't it be easier for both the contributor and the reviewers to have one instead of multiple PRs? These are closely related, after all.
They are related tasks of course, but they can be cleanly separated. The Rust code in these tests changes from time to time (the latest refactoring that changed these was yesterday), and new test cases are added. So if we merge all of these into one giant contribution, it increases the risk for annoying merge conflicts that could be avoided otherwise. As a maintainer, I also prefer multiple smaller contributions. That said, obviously I won't complain if someone wants to tackle more or all of these at once.
The various type-property tests here …
ruff/crates/red_knot_python_semantic/src/types.rs
Lines 4155 to 4673 in b861551
… can now be moved to Markdown-based tests which are more concise, easier to read, can be run without recompilation, and can contain additional prose for documentation.
An example on how to do this can be seen in this PR which moved the
is_assignable_to
tests (ignore the changes inproperty_tests.rs
).If you would like to work on this, let us know and pick one of these:
tuple_containing_never_simplifies_to_never
is_assignable_to
is_subtype_of
is_equivalent_to
is_disjoint_from
is_singleton
is_single_valued
is_fully_static
The text was updated successfully, but these errors were encountered: