ruff/crates/ruff_cli/src
Charlie Marsh 7323c12eee
Avoid duplicating linter-formatter compatibility warnings (#8292)
## Summary

Uses `warn_user_once!` instead of `warn!` to ensure that every warning
is shown exactly once, regardless of whether there are duplicates in the
list, or warnings that are raised by multiple configuration files.

Closes #8271.
2023-10-30 19:32:55 -04:00
..
bin Replace .map_or(false, $closure) with .is_some_and(closure) (#6244) 2023-08-01 19:29:42 +02:00
commands Avoid duplicating linter-formatter compatibility warnings (#8292) 2023-10-30 19:32:55 -04:00
snapshots Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
args.rs Respect --extend-per-file-ignores on the CLI (#8329) 2023-10-29 20:44:24 -04:00
cache.rs Dedicated cache directory per ruff version (#8333) 2023-10-30 09:08:30 +00:00
diagnostics.rs Allow selective caching for --fix and --diff (#8316) 2023-10-29 16:06:35 +00:00
lib.rs Harmonize help commands' --format to --output-format with deprecation warnings (#8203) 2023-10-28 03:30:46 +00:00
panic.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
printer.rs Avoid failed assertion when showing fixes from stdin (#8029) 2023-10-17 21:50:39 -04:00
resolve.rs Rename ConfigProcessor to ConfigurationTransformer (#7536) 2023-09-20 14:17:06 +00:00
stdin.rs Move stdin formatting to its own command file (#6981) 2023-08-29 16:06:10 +00:00
version.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00