ruff/crates/ruff_cli/src/commands
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
..
snapshots Rename run.rs command to check.rs (#6980) 2023-08-29 15:52:06 +00:00
add_noqa.rs Add [format|lint].exclude options (#8000) 2023-10-18 01:15:25 +00:00
check.rs Add caching to formatter (#8089) 2023-10-23 09:43:08 +01:00
check_stdin.rs Add [format|lint].exclude options (#8000) 2023-10-18 01:15:25 +00:00
clean.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
config.rs Refactor Options representation (#7591) 2023-09-22 18:19:58 +02:00
format.rs Avoid duplicating linter-formatter compatibility warnings (#8292) 2023-10-30 19:32:55 -04:00
format_stdin.rs Use SourceKind::diff for formatter (#8240) 2023-10-26 11:08:13 +05:30
linter.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
mod.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00
rule.rs Consider nursery rules to be in-preview for ruff rule (#7812) 2023-10-04 11:12:43 -04:00
show_files.rs Add [format|lint].exclude options (#8000) 2023-10-18 01:15:25 +00:00
show_settings.rs Add [format|lint].exclude options (#8000) 2023-10-18 01:15:25 +00:00
version.rs Add ruff version with long version display (#8034) 2023-10-20 14:07:41 -05:00