Skip to content

format.ruff

Run the format.ruff step alone, over the named paths or the workspace; the words after -- go to its tool.

fm format.ruff [<paths> ...] [--fix] [--safe-fix]
Parameter Type Default Description
<paths>... variadic the files or directories to check; the workspace when none
--fix flag false rewrite what the steps can, then judge the rest
--safe-fix flag false fix, removing no code: safe for an edit in flight

Example

$ fm format.ruff <paths> --fix