MCPcopy Create free account
hub / github.com/astral-sh/ruff / with_python_platform

Method with_python_platform

crates/ty_python_semantic/src/db.rs:257–260  ·  view source on GitHub ↗
(mut self, platform: PythonPlatform)

Source from the content-addressed store, hash-verified

255 }
256
257 pub(crate) fn with_python_platform(mut self, platform: PythonPlatform) -> Self {
258 self.python_platform = platform;
259 self
260 }
261
262 pub(crate) fn with_src_roots(mut self, src_roots: Vec<SystemPathBuf>) -> Self {
263 self.src_roots = src_roots;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected