Fix windows test warnings (#6124)

See
https://github.com/astral-sh/ruff/actions/runs/5679922286/job/15392998698.
These didn't fail CI because we run clippy on linux only.
This commit is contained in:
konsti 2023-07-27 14:03:53 +02:00 committed by GitHub
parent 2ea0a0b28a
commit 6e85e0010f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -21,7 +21,9 @@ use path_absolutize::path_dedot;
#[cfg(unix)] #[cfg(unix)]
use tempfile::TempDir; use tempfile::TempDir;
#[cfg(unix)]
use ruff_cli::args::Args; use ruff_cli::args::Args;
#[cfg(unix)]
use ruff_cli::run; use ruff_cli::run;
const BIN_NAME: &str = "ruff"; const BIN_NAME: &str = "ruff";