Skip to content

Commit 9341f2c

Browse files
committedOct 3, 2024
ci: temp allow clipply lint: needless_return
1 parent b65f25a commit 9341f2c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎.github/workflows/testing.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- id: lint
7171
name: Run Lint Checks
72-
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic
72+
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features
7373

7474
- id: docs
7575
name: Lint Documentation

‎Cargo.toml

+11
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,14 @@ opt-level = 3
115115
[profile.release-debug]
116116
debug = true
117117
inherits = "release"
118+
119+
[lints.clippy]
120+
complexity = { level = "deny", priority = -1 }
121+
correctness = { level = "deny", priority = -1 }
122+
pedantic = { level = "deny", priority = -1 }
123+
perf = { level = "deny", priority = -1 }
124+
style = { level = "deny", priority = -1 }
125+
suspicious = { level = "deny", priority = -1 }
126+
127+
# temp allow this lint
128+
needless_return = "allow"

0 commit comments

Comments
 (0)
Please sign in to comment.