clippy: Configure lint unwrap_used

By setting `allow-unwrap-in-tests`, we can avoid repeating
`allow(clippy::unwrap_used)` many times over.
This commit is contained in:
Lorenz Leutgeb
2026-04-15 10:06:05 +02:00
parent dbec748c47
commit c23a257f3c
6 changed files with 1 additions and 9 deletions
+1
View File
@@ -0,0 +1 @@
allow-unwrap-in-tests = true
-1
View File
@@ -1,4 +1,3 @@
#![allow(clippy::unwrap_used)]
use std::marker::PhantomData;
use std::ops::Deref;
@@ -1,5 +1,3 @@
#![allow(clippy::unwrap_used)]
use crypto::{signature, test::signer::MockSigner, PublicKey, Signer as _};
use qcheck::TestResult;
use qcheck_macros::quickcheck;
@@ -1,5 +1,3 @@
#![allow(clippy::unwrap_used)]
mod mock;
use mock::*;
@@ -1,5 +1,3 @@
#![allow(clippy::unwrap_used)]
mod mock;
mod commit_reader;
@@ -1,5 +1,3 @@
#![allow(clippy::unwrap_used)]
mod mock;
mod commit_writer;