mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 02:12:22 +00:00
[red-knot] Rename workspace_root
variables in the module resolver to src_root
(#12697)
Fixes #12337
This commit is contained in:
parent
7ee7c68f36
commit
5499821c67
10 changed files with 22 additions and 22 deletions
|
@ -85,7 +85,7 @@ pub struct SearchPathSettings {
|
|||
pub extra_paths: Vec<SystemPathBuf>,
|
||||
|
||||
/// The root of the workspace, used for finding first-party modules.
|
||||
pub workspace_root: SystemPathBuf,
|
||||
pub src_root: SystemPathBuf,
|
||||
|
||||
/// 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue