ruff/crates/ruff_dev/src
Aarni Koskela 6acc316d19
Turn Linters', etc. implicit into_iter()s into explicit rules() (#5436)
## Summary

As discussed on ~IRC~ Discord, this will make it easier for e.g. the
docs generation stuff to get all rules for a linter (using
`all_rules()`) instead of just non-nursery ones, and it also makes it
more Explicit Is Better Than Implicit to iterate over linter rules.

Grepping for `Item = Rule` reveals some remaining implicit
`IntoIterator`s that I didn't feel were necessarily in scope for this
(and honestly, iterating over a `RuleSet` makes sense).
2023-07-03 19:35:16 -04:00
..
check_formatter_stability.rs Use rayon to parallelize the stability check 2023-06-30 10:05:25 +02:00
generate_all.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
generate_cli_help.rs Use mod tests consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_docs.rs Update option anchors to include group name (#4711) 2023-05-29 17:26:10 -04:00
generate_json_schema.rs Use mod tests consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_options.rs Format let-else with rustfmt nightly (#5461) 2023-07-03 02:13:35 +00:00
generate_rules_table.rs Turn Linters', etc. implicit into_iter()s into explicit rules() (#5436) 2023-07-03 19:35:16 -04:00
main.rs Fix ruff_dev repeat by removing short argument (#5388) 2023-06-27 13:29:20 +00:00
print_ast.rs Upgrade RustPython (#4747) 2023-05-31 08:26:35 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
round_trip.rs Experimental release for Jupyter notebook integration (#5363) 2023-06-26 21:22:42 +05:30