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

Method with_docstring_code

crates/ruff_python_formatter/src/options.rs:202–205  ·  view source on GitHub ↗
(mut self, docstring_code: DocstringCode)

Source from the content-addressed store, hash-verified

200
201 #[must_use]
202 pub fn with_docstring_code(mut self, docstring_code: DocstringCode) -> Self {
203 self.docstring_code = docstring_code;
204 self
205 }
206
207 #[must_use]
208 pub fn with_docstring_code_line_width(mut self, line_width: DocstringCodeLineWidth) -> Self {

Callers 1

to_format_optionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected