Skip to content

Commit 8a0376c

Browse files
authored
Merge pull request #849 from mulkieran/global-clippy-allow
Explicitly allow clippy lint multiple-crate-versions
2 parents 677ee76 + 6e8850d commit 8a0376c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ IGNORE_ARGS ?=
1212

1313
DENY = -D warnings -D future-incompatible -D unused -D rust_2018_idioms -D nonstandard_style
1414

15+
CLIPPY_DENY = -D clippy::all -D clippy::cargo -A clippy::multiple-crate-versions
16+
1517
${HOME}/.cargo/bin/cargo-tree:
1618
cargo install cargo-tree
1719

@@ -72,12 +74,10 @@ sudo_test:
7274
clippy:
7375
RUSTFLAGS="${DENY}" \
7476
cargo clippy --all-targets --all-features -- \
75-
-D clippy::cargo \
76-
-D clippy::all
77+
${CLIPPY_DENY}
7778
cd devicemapper-rs-sys && RUSTFLAGS="${DENY}" \
7879
cargo clippy --all-targets --all-features -- \
79-
-D clippy::cargo \
80-
-D clippy::all
80+
${CLIPPY_DENY}
8181

8282
docs:
8383
cargo doc --no-deps

0 commit comments

Comments
 (0)