mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 07:38:00 +00:00
Exit upon showing files with --show-files
(#2543)
This commit is contained in:
parent
b5ac93d2ee
commit
d05ea4dbac
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ fn check(args: CheckArgs, log_level: LogLevel) -> Result<ExitCode> {
|
||||||
}
|
}
|
||||||
if cli.show_files {
|
if cli.show_files {
|
||||||
commands::show_files(&cli.files, &pyproject_strategy, &overrides)?;
|
commands::show_files(&cli.files, &pyproject_strategy, &overrides)?;
|
||||||
|
return Ok(ExitCode::SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extract options that are included in `Settings`, but only apply at the top
|
// Extract options that are included in `Settings`, but only apply at the top
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue