ruff/crates/ty_python_semantic/src/module_resolver
Aria Desires 64edfb6ef6
[ty] add legacy namespace package support (#20897)
Detect legacy namespace packages and treat them like namespace packages
when looking them up as the *parent* of the module we're interested in.
In all other cases treat them like a regular package.

(This PR is coauthored by @MichaReiser in a shared coding session)

Fixes https://github.com/astral-sh/ty/issues/838

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2025-10-17 03:16:37 +00:00
..
import-resolution-diagram.dot [ty] Update module resolution diagram to account for typeshed `VERSIONS` file 2025-07-30 10:34:58 -04:00
import-resolution-diagram.svg [ty] Update module resolution diagram to account for typeshed `VERSIONS` file 2025-07-30 10:34:58 -04:00
list.rs [ty] Fix panic 'missing root' when handling completion request (#20917) 2025-10-16 16:23:02 +02:00
mod.rs [ty] Add naive implementation of completions for unimported symbols 2025-09-03 09:57:26 -04:00
module.rs [ty] Fix panic 'missing root' when handling completion request (#20917) 2025-10-16 16:23:02 +02:00
path.rs [ty] Add search paths info to unresolved import diagnostics (#20040) 2025-08-26 11:01:16 -04:00
resolver.rs [ty] add legacy namespace package support (#20897) 2025-10-17 03:16:37 +00:00
testing.rs [ty] Re-arrange "list modules" implementation for Salsa caching 2025-08-20 10:41:47 -04:00
typeshed.rs [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00