ruff/crates/ruff_cli/src
Zanie Blue 8e9bf84047
Hide unsafe fix suggestions when explicitly disabled (#9095)
Hides hints about unsafe fixes when they are disabled e.g. with
`--no-unsafe-fixes` or `unsafe-fixes = false`. By default, unsafe fix
hints are still displayed. This seems like a nice way to remove the nag
for users who have chosen not to apply unsafe fixes.

Inspired by comment at
https://github.com/astral-sh/ruff/issues/9063#issuecomment-1850289675
2023-12-11 15:42:53 -06:00
..
bin Replace `.map_or(false, $closure)` with `.is_some_and(closure)` (#6244) 2023-08-01 19:29:42 +02:00
commands Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
snapshots Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00
args.rs Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
cache.rs Dedicated cache directory per ruff version (#8333) 2023-10-30 09:08:30 +00:00
diagnostics.rs Add hidden `--extension` to override inference of source type from file extension (#8373) 2023-11-08 08:02:40 +05:30
lib.rs Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
panic.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
printer.rs Hide unsafe fix suggestions when explicitly disabled (#9095) 2023-12-11 15:42:53 -06:00
resolve.rs Improve debug printing for resolving origin of config settings (#8729) 2023-11-17 01:10:36 +00:00
stdin.rs Write unchanged, excluded files to stdout when read via stdin (#8596) 2023-11-09 23:15:01 -05:00
version.rs Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00