refactor: switch lints from allow(x) to expect(x)`

This commit is contained in:
Jack Wills
2024-09-06 22:48:36 +00:00
parent 5d77f1e02a
commit 2a0ab6d81c
8 changed files with 20 additions and 28 deletions
+1 -8
View File
@@ -1,6 +1,3 @@
// Only allow when debugging
// #![allow(unused)]
use app_data::AppData;
use app_error::AppError;
use bollard::{Docker, API_DEFAULT_VERSION};
@@ -166,12 +163,8 @@ async fn main() {
}
#[cfg(test)]
#[allow(clippy::unwrap_used, clippy::many_single_char_names, unused)]
#[expect(clippy::unwrap_used,)]
mod tests {
use std::{
collections::{HashSet, VecDeque},
vec,
};
use bollard::service::{ContainerSummary, Port};