mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-29 07:53:52 +00:00
![]() The subcommand lists all supported upstream linters and their prefixes: $ ruff linter F Pyflakes E/W pycodestyle C90 mccabe I isort N pep8-naming D pydocstyle UP pyupgrade YTT flake8-2020 # etc... Just like with the `rule` subcommand `--format json` is supported: $ ruff linter --format json [ { "prefix": "F", "name": "Pyflakes" }, { "prefix": "", "name": "pycodestyle", "categories": [ { "prefix": "E", "name": "Error" }, { "prefix": "W", "name": "Warning" } ] }, # etc... |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |