ruff/ruff_cli/src
Martin Fischer d76a47d366 Implement ruff linter subcommand
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...
2023-01-29 21:32:37 -05:00
..
commands Implement ruff linter subcommand 2023-01-29 21:32:37 -05:00
args.rs Implement ruff linter subcommand 2023-01-29 21:32:37 -05:00
cache.rs Include package path in cache key (#2077) 2023-01-21 18:33:35 -05:00
commands.rs Implement ruff linter subcommand 2023-01-29 21:32:37 -05:00
diagnostics.rs refactor: Check required_version in Settings::from_configuration 2023-01-26 13:06:29 -05:00
iterators.rs Split off ruff_cli crate from ruff library 2023-01-13 21:37:54 -05:00
lib.rs Include both ruff help and ruff help check in README (#2325) 2023-01-29 17:01:15 -05:00
main.rs Implement ruff linter subcommand 2023-01-29 21:32:37 -05:00
printer.rs feat: add ruff --statistics (#2284) 2023-01-29 13:44:56 -05:00
resolve.rs refactor: Move comments before if conditions 2023-01-25 22:08:35 -05:00
updates.rs Split off ruff_cli crate from ruff library 2023-01-13 21:37:54 -05:00