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

Method with_docstring_code_line_width

crates/ruff_python_formatter/src/options.rs:208–211  ·  view source on GitHub ↗
(mut self, line_width: DocstringCodeLineWidth)

Source from the content-addressed store, hash-verified

206
207 #[must_use]
208 pub fn with_docstring_code_line_width(mut self, line_width: DocstringCodeLineWidth) -> Self {
209 self.docstring_code_line_width = line_width;
210 self
211 }
212
213 #[must_use]
214 pub fn with_preview(mut self, preview: PreviewMode) -> Self {

Callers 1

to_format_optionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected