mirror of https://github.com/astral-sh/ruff
Add Checker::any_enabled shortcut ## Summary Akin to #4625, This is a refactoring that shortens a bunch of code by replacing `checker.settings.rules.any_enabled` with `checker.any_enabled`. ## Test Plan `cargo clippy` |
||
|---|---|---|
| .. | ||
| resources/test | ||
| src | ||
| Cargo.toml | ||