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

Method with_python_version

crates/ty_python_semantic/src/db.rs:252–255  ·  view source on GitHub ↗
(mut self, version: PythonVersion)

Source from the content-addressed store, hash-verified

250 }
251
252 pub(crate) fn with_python_version(mut self, version: PythonVersion) -> Self {
253 self.python_version = version;
254 self
255 }
256
257 pub(crate) fn with_python_platform(mut self, platform: PythonPlatform) -> Self {
258 self.python_platform = platform;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected