ruff/crates/red_knot_project
Micha Reiser ce0018c3cb
Add `OsSystem` support to mdtests (#16518)
## Summary

This PR introduces a new mdtest option `system` that can either be
`in-memory` or `os`
where `in-memory` is the default.

The motivation for supporting `os` is so that we can write OS/system
specific tests
with mdtests. Specifically, I want to write mdtests for the module
resolver,
testing that module resolution is case sensitive. 

## Test Plan

I tested that the case-sensitive module resolver test start failing when
setting `system = "os"`
2025-03-06 10:41:40 +01:00
..
resources/test/corpus Rename `red_knot_workspace` to `red_knot_project` (#15615) 2025-01-20 14:02:36 +01:00
src Add `OsSystem` support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
tests Add `OsSystem` support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
Cargo.toml [red-knot] Fallback to `requires-python` if no `python-version` is specified (#16028) 2025-02-12 11:47:59 +00:00