See
ruff --help
for more:
ruff (v0.0.43) An extremely fast Python linter. USAGE: ruff [OPTIONS] <FILES>... ARGS: <FILES>... OPTIONS: -e, --exit-zero Exit with status code "0", even upon detecting errors --exclude <EXCLUDE>... List of paths, used to exclude files and/or directories from checks --extend-exclude <EXTEND_EXCLUDE>... Like --exclude, but adds additional files and directories on top of the excluded ones -f, --fix Attempt to automatically fix lint errors --format <FORMAT> Output serialization format for error messages [default: text] [possible values: text, json] -h, --help Print help information --ignore <IGNORE>... List of error codes to ignore -n, --no-cache Disable cache reads -q, --quiet Disable all logging (but still exit with status code "1" upon detecting errors) --select <SELECT>... List of error codes to enable -v, --verbose Enable verbose logging -V, --version Print version information -w, --watch Run in watch mode by re-running whenever files change