ruff/crates/ruff_dev/src
Andrew Gallant fc3e2664f9
help: enable auto-wrapping of help output (#9633)
Previously, without the 'wrap_help' feature enabled, Clap would not do
any auto-wrapping of help text. For help text with long lines, this
tends to lead to non-ideal formatting. It can be especially difficult to
read when the width of the terminal is smaller.

This commit enables 'wrap_help', which will automatically cause Clap to
query the terminal size and wrap according to that. Or, if the terminal
size cannot be determined, it will default to a maximum line width of
100.

Ref https://github.com/astral-sh/ruff/pull/9599#discussion_r1464992692
2024-01-24 10:51:07 -05:00
..
format_dev.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
generate_all.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_cli_help.rs help: enable auto-wrapping of help output (#9633) 2024-01-24 10:51:07 -05:00
generate_docs.rs Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
generate_json_schema.rs Move Configuration to ruff_workspace crate (#6920) 2023-08-28 06:21:35 +00:00
generate_options.rs Remove repeated and erroneous scoped settings headers in docs (#8670) 2023-11-14 05:44:30 +00:00
generate_rules_table.rs Escape trailing placeholders in rule documentation (#9301) 2023-12-28 09:44:51 -05:00
main.rs Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
print_ast.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Update ruff-dev to use SourceKind (#8878) 2023-11-28 14:27:35 -06:00
round_trip.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00