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

Method with_source_map_generation

crates/ruff_python_formatter/src/options.rs:229–232  ·  view source on GitHub ↗
(mut self, source_map: SourceMapGeneration)

Source from the content-addressed store, hash-verified

227
228 #[must_use]
229 pub fn with_source_map_generation(mut self, source_map: SourceMapGeneration) -> Self {
230 self.source_map_generation = source_map;
231 self
232 }
233}
234
235impl FormatOptions for PyFormatOptions {

Callers 3

format_rangeFunction · 0.80
formatMethod · 0.80
formatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected