diff --git a/src/check_ast.rs b/src/check_ast.rs index 08be9216f9..7ea22fb375 100644 --- a/src/check_ast.rs +++ b/src/check_ast.rs @@ -42,6 +42,7 @@ use crate::{ const GLOBAL_SCOPE_INDEX: usize = 0; +#[allow(clippy::struct_excessive_bools)] pub struct Checker<'a> { // Input data. path: &'a Path, diff --git a/src/cli.rs b/src/cli.rs index 76da787592..7fe1b37d4f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -13,6 +13,7 @@ use crate::settings::types::{PatternPrefixPair, PerFileIgnore, PythonVersion}; #[derive(Debug, Parser)] #[command(author, about = "Ruff: An extremely fast Python linter.")] #[command(version)] +#[allow(clippy::struct_excessive_bools)] pub struct Cli { #[arg(required = true)] pub files: Vec, diff --git a/src/flake8_annotations/settings.rs b/src/flake8_annotations/settings.rs index 573d2ebc01..6e788b8b53 100644 --- a/src/flake8_annotations/settings.rs +++ b/src/flake8_annotations/settings.rs @@ -21,6 +21,7 @@ pub struct Options { } #[derive(Debug, Hash, Default)] +#[allow(clippy::struct_excessive_bools)] pub struct Settings { pub mypy_init_return: bool, pub suppress_dummy_args: bool,