diff --git a/src/main_native.rs b/src/main_native.rs index 20ebd1c49e..4a459985d5 100644 --- a/src/main_native.rs +++ b/src/main_native.rs @@ -92,9 +92,7 @@ pub(crate) fn inner_main() -> Result { } if cli.clean { commands::clean(&log_level)?; - if cli.files.is_empty() { - return Ok(ExitCode::SUCCESS); - } + return Ok(ExitCode::SUCCESS); } // Construct the "default" settings. These are used when no `pyproject.toml`