mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Add --line-length command line argument (#759)
This commit is contained in:
parent
ff0e5f5cb4
commit
0d3fac1bf9
3 changed files with 9 additions and 0 deletions
|
@ -87,6 +87,10 @@ pub struct Cli {
|
|||
/// The minimum Python version that should be supported.
|
||||
#[arg(long)]
|
||||
pub target_version: Option<PythonVersion>,
|
||||
/// Set the line-length for length-associated checks and automatic
|
||||
/// formatting.
|
||||
#[arg(long)]
|
||||
pub line_length: Option<usize>,
|
||||
/// Round-trip auto-formatting.
|
||||
// TODO(charlie): This should be a sub-command.
|
||||
#[arg(long, hide = true)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue