mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
Make Clap an optional feature for ruff crate (#3498)
This commit is contained in:
parent
78c2b0ac47
commit
106a93eab0
7 changed files with 28 additions and 41 deletions
|
@ -99,7 +99,7 @@ pub struct CheckArgs {
|
|||
#[arg(long, value_enum, env = "RUFF_FORMAT")]
|
||||
pub format: Option<SerializationFormat>,
|
||||
/// The minimum Python version that should be supported.
|
||||
#[arg(long)]
|
||||
#[arg(long, value_enum)]
|
||||
pub target_version: Option<PythonVersion>,
|
||||
/// Path to the `pyproject.toml` or `ruff.toml` file to use for
|
||||
/// configuration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue