Skip to main content

format_python

Function format_python 

Source
pub fn format_python(
    root: &Path,
    files: &[String],
    check: bool,
) -> Result<FormatOutcome>
Expand description

Format Python files via ruff format.

§Errors

Never — failures are reported via FormatOutcome::Failed(stderr).