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

Method format

crates/ruff_python_formatter/src/statement/mod.rs:74–76  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

72 type Format<'a> = FormatRefWithRule<'a, Stmt, FormatStmt, PyFormatContext<'ast>>;
73
74 fn format(&self) -> Self::Format<'_> {
75 FormatRefWithRule::new(self, FormatStmt)
76 }
77}
78
79impl<'ast> IntoFormat<PyFormatContext<'ast>> for Stmt {

Callers 8

fmt_fieldsMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmtMethod · 0.45
fmt_fieldsMethod · 0.45
fmt_fieldsMethod · 0.45
fmt_fieldsMethod · 0.45
format_function_headerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected