diff --git a/src/document.rs b/src/document.rs index 72a19cc..af8115c 100644 --- a/src/document.rs +++ b/src/document.rs @@ -1,3 +1,5 @@ +#![allow(clippy::new_ret_no_self)] + use pyo3::prelude::*; use pyo3::types::PyDateTime; use pyo3::types::{PyDateAccess, PyTimeAccess}; diff --git a/src/index.rs b/src/index.rs index fdc90b0..b3fa7b2 100644 --- a/src/index.rs +++ b/src/index.rs @@ -1,3 +1,5 @@ +#![allow(clippy::new_ret_no_self)] + use pyo3::exceptions; use pyo3::prelude::*; diff --git a/src/schemabuilder.rs b/src/schemabuilder.rs index b915259..e44f7de 100644 --- a/src/schemabuilder.rs +++ b/src/schemabuilder.rs @@ -1,3 +1,5 @@ +#![allow(clippy::new_ret_no_self)] + use pyo3::exceptions; use pyo3::prelude::*; diff --git a/src/searcher.rs b/src/searcher.rs index 2565cb9..6d6ec0c 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -1,3 +1,5 @@ +#![allow(clippy::new_ret_no_self)] + use pyo3::exceptions; use pyo3::prelude::*;