mirror of https://github.com/astral-sh/ruff
[red-knot] Fix typos in the module resolver (#12574)
This commit is contained in:
parent
a2286c8e47
commit
3169d408fa
|
|
@ -324,8 +324,8 @@ impl fmt::Display for SearchPathValidationError {
|
||||||
Self::NoStdlibSubdirectory(path) => {
|
Self::NoStdlibSubdirectory(path) => {
|
||||||
write!(f, "The directory at {path} has no `stdlib/` subdirectory")
|
write!(f, "The directory at {path} has no `stdlib/` subdirectory")
|
||||||
}
|
}
|
||||||
Self::NoVersionsFile(path) => write!(f, "Expected a file at {path}/stldib/VERSIONS"),
|
Self::NoVersionsFile(path) => write!(f, "Expected a file at {path}/stdlib/VERSIONS"),
|
||||||
Self::VersionsIsADirectory(path) => write!(f, "{path}/stldib/VERSIONS is a directory."),
|
Self::VersionsIsADirectory(path) => write!(f, "{path}/stdlib/VERSIONS is a directory."),
|
||||||
Self::VersionsParseError(underlying_error) => underlying_error.fmt(f),
|
Self::VersionsParseError(underlying_error) => underlying_error.fmt(f),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue