ruff/crates/ty_python_semantic
Andrew Gallant 92eee816ed [ty] Fix file root matching for /
Previously, we would always add `/{*filepath}` as our wildcard to match
descendant paths. But when the root is just `/` (as it can be in tests,
weird environments or in the ty playground), this causes a double `/`
and inhibits most descendant matches.

The regression test added in this commit fails without this fix.
Specifically, it panics because it can't find a file root for
`/project`.

Fixes #1277
2025-10-03 08:18:03 -04:00
..
resources [ty] Support single-starred argument for overload call (#20223) 2025-10-02 10:41:56 -04:00
src [ty] Fix file root matching for / 2025-10-03 08:18:03 -04:00
tests
build.rs
Cargo.toml
mdtest.py [ty] Faster iteration on mdtests (#20465) 2025-09-18 10:48:52 +00:00
mdtest.py.lock