ruff/crates/ruff_cli/src
Martin Fischer 70e378b736 Implement shell autocompletion for rule codes
For example:

    $ ruff check --select=EM<Tab>
    EM          -- flake8-errmsg
    EM10   EM1  --
    EM101       -- raw-string-in-exception
    EM102       -- f-string-in-exception
    EM103       -- dot-format-in-exception

(You will need to enable autocompletion as described
 in the Autocompletion section in the README.)

Fixes #2808.

(The --help help change in the README is due to a clap bug,
 for which I already submitted a fix:
 https://github.com/clap-rs/clap/pull/4710.)
2023-02-15 08:09:34 -05:00
..
commands many-to-one 6/9: Implement ruff_macros::map_codes 2023-02-14 16:16:12 -05:00
args.rs Implement shell autocompletion for rule codes 2023-02-15 08:09:34 -05:00
cache.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
diagnostics.rs Add a --show-fixes flag to include applied fixes in output (#2707) 2023-02-12 20:48:01 +00:00
iterators.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
lib.rs Reorder imports (#2638) 2023-02-07 16:22:47 -05:00
main.rs Re-enable custom allocators (#2876) 2023-02-14 02:37:22 +00:00
printer.rs many-to-one 2/9: Newtype Rule::noqa_code return type 2023-02-14 16:16:12 -05:00
resolve.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00