ruff/crates/ruff_macros/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
..
config.rs refactor: Move name out of OptionField & OptionGroup 2023-02-11 23:43:09 -05:00
define_violation.rs Add documentation for mccabe, isort, and flake8-annotations (#2691) 2023-02-09 11:56:18 -05:00
derive_message_formats.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
lib.rs many-to-one 6/9: Implement ruff_macros::map_codes 2023-02-14 16:16:12 -05:00
map_codes.rs Disable many-to-one mapping for now 2023-02-14 16:16:12 -05:00
register_rules.rs Implement shell autocompletion for rule codes 2023-02-15 08:09:34 -05:00
rule_code_prefix.rs many-to-one 6/9: Implement ruff_macros::map_codes 2023-02-14 16:16:12 -05:00
rule_namespace.rs [numpy] deprecated type aliases (#2810) 2023-02-14 23:45:12 +00:00