Skip to content

Commit 1f8ff7a

Browse files
committed
build: change clippy options
1 parent 4761e6e commit 1f8ff7a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

crates/libs/kill_tree/src/macos.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ mod tests {
148148

149149
#[allow(warnings)]
150150
#[allow(clippy::all)]
151+
#[allow(clippy::pedantic)]
151152
mod libproc {
152153
include!(concat!(env!("OUT_DIR"), "/libproc_bindings.rs"));
153154
}

crates/tools/dev/src/main.rs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,17 @@ fn check() {
5656
}
5757

5858
fn clippy() {
59-
run("cargo", &["clippy", "--", "-D", "clippy::all"]);
59+
run(
60+
"cargo",
61+
&[
62+
"clippy",
63+
"--",
64+
"-D",
65+
"clippy::all",
66+
"-D",
67+
"clippy::pedantic",
68+
],
69+
);
6070
}
6171

6272
fn fmt() {

0 commit comments

Comments
 (0)