mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:39:12 +00:00
[red-knot] Use a distinct type for module search paths in the module resolver (#12379)
This commit is contained in:
parent
ea2d51c2bb
commit
2a8f95c437
4 changed files with 334 additions and 316 deletions
|
@ -75,8 +75,8 @@ pub struct SearchPathSettings {
|
|||
/// The root of the workspace, used for finding first-party modules.
|
||||
pub workspace_root: SystemPathBuf,
|
||||
|
||||
/// Optional (already validated) path to standard-library typeshed stubs.
|
||||
/// If this is not provided, we will fallback to our vendored typeshed stubs
|
||||
/// Optional path to a "custom typeshed" directory on disk for us to use for standard-library types.
|
||||
/// If this is not provided, we will fallback to our vendored typeshed stubs for the stdlib,
|
||||
/// bundled as a zip file in the binary
|
||||
pub custom_typeshed: Option<SystemPathBuf>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue