Skip to content

Commit

Permalink
lint: allow too_many_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Nov 22, 2023
1 parent d5b9723 commit ab6f6c6
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ missing_docs = "warn"
all = "deny"
pedantic = "deny"
module_name_repetitions = { level = "allow", priority = 1 }
too_many_lines = { level = "allow", priority = 1 }
1 change: 0 additions & 1 deletion viz-core/tests/handler.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![allow(dead_code)]
#![allow(clippy::unused_async)]
#![allow(clippy::similar_names)]
#![allow(clippy::too_many_lines)]
#![allow(clippy::wildcard_imports)]

use http_body_util::Full;
Expand Down
1 change: 0 additions & 1 deletion viz-core/tests/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ fn request_ext() -> Result<()> {
Ok(())
}

#[allow(clippy::too_many_lines)]
#[tokio::test]
async fn request_body() -> Result<()> {
use futures_util::stream::TryStreamExt;
Expand Down
1 change: 0 additions & 1 deletion viz-router/src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ impl IntoIterator for Resources {

#[cfg(test)]
#[allow(clippy::unused_async)]
#[allow(clippy::too_many_lines)]
mod tests {
use super::Kind;
use crate::{get, Resources};
Expand Down
1 change: 0 additions & 1 deletion viz-router/src/route.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ impl fmt::Debug for Route {
#[cfg(test)]
#[allow(dead_code)]
#[allow(clippy::unused_async)]
#[allow(clippy::too_many_lines)]
mod tests {
use super::Route;
use http_body_util::BodyExt;
Expand Down
1 change: 0 additions & 1 deletion viz-router/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ impl Router {

#[cfg(test)]
#[allow(clippy::unused_async)]
#[allow(clippy::too_many_lines)]
mod tests {
use http_body_util::{BodyExt, Full};
use std::sync::Arc;
Expand Down

0 comments on commit ab6f6c6

Please sign in to comment.