ruff/crates/ruff_cli/src
Charlie Marsh 97510c888b
Show --no-X variants in CLI help (#7504)
I'd really like this to render as `--preview / --no-preview`, but I
looked for a while in the Clap internals and issue tracker
(https://github.com/clap-rs/clap/issues/815) and I really can't figure
out a way to do it -- this seems like the best we can do? It's also what
they do in Orogene.

Closes https://github.com/astral-sh/ruff/issues/7486.
2023-09-19 12:27:30 +00:00
..
bin Replace .map_or(false, $closure) with .is_some_and(closure) (#6244) 2023-08-01 19:29:42 +02:00
commands Catch panics in formatter (#7377) 2023-09-14 11:44:16 -04:00
args.rs Show --no-X variants in CLI help (#7504) 2023-09-19 12:27:30 +00:00
cache.rs Add NotebookIndex to the cache (#6863) 2023-09-12 18:29:03 +05:30
diagnostics.rs Add NotebookIndex to the cache (#6863) 2023-09-12 18:29:03 +05:30
lib.rs Catch panics in formatter (#7377) 2023-09-14 11:44:16 -04:00
panic.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
printer.rs Add NotebookIndex to the cache (#6863) 2023-09-12 18:29:03 +05:30
resolve.rs Move Configuration to ruff_workspace crate (#6920) 2023-08-28 06:21:35 +00:00
stdin.rs Move stdin formatting to its own command file (#6981) 2023-08-29 16:06:10 +00:00