Skip to content

lint.ruff

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

fm lint.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 lint.ruff <paths> --fix