Skip to content

Commit 6f7e0c1

Browse files
committed
Allow some additional clippy lints that we want to keep in tests
In a coming commit we'll enable `clippy` linting in our test code. However, there's some things we do in tests (which we might reasonably do in non-test code in the future) that clippy is unhappy with, which we explicitly allow here.
1 parent 040a372 commit 6f7e0c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/check-lint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ RUSTFLAGS='-D warnings' cargo clippy -- \
66
-D clippy::clone_on_ref_ptr \
77
`# Things where clippy is just wrong` \
88
-A clippy::unwrap-or-default \
9+
-A clippy::upper_case_acronyms \
10+
`# Things where we do odd stuff on purpose ` \
11+
-A clippy::unusual_byte_groupings \
12+
-A clippy::unit_arg \
913
`# Errors` \
1014
-A clippy::erasing_op \
1115
-A clippy::never_loop \

0 commit comments

Comments
 (0)