ruff/crates/ruff_macros/src
Martin Fischer 9011456aa1 refactor: Simplify attribute handling in rule_code_prefix
if_all_same(codes.values().cloned()).unwrap_or_default()

was quite unreadable because it wasn't obvious that codes.values() are
the prefixes. It's better to introduce another Map rather than having
Maps within Maps.
2023-02-10 08:24:22 -05:00
..
config.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
define_rule_mapping.rs refactor: Avoid implicit precondition 2023-02-10 08:24:22 -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 Derive explanation method on Rule struct via rustdoc (#2642) 2023-02-07 17:23:29 -05:00
rule_code_prefix.rs refactor: Simplify attribute handling in rule_code_prefix 2023-02-10 08:24:22 -05:00
rule_namespace.rs Rename some local variables 2023-02-07 16:24:53 -05:00