Skip to content

Commit

Permalink
Improve Clippy usage
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jul 19, 2024
1 parent 213b3ba commit a65fdc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Format
run: cargo fmt && git diff --exit-code
- name: Clippy
run: cargo clippy --all-targets -- -D warnings -W clippy::pedantic -A clippy::missing-panics-doc
run: cargo clippy --all-targets -- -D warnings
build:
strategy:
fail-fast: ${{ github.event_name == 'merge_group' }}
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ members = ["afl", "cargo-afl"]
resolver = "2"

[workspace.lints.clippy]
disallowed-macros = { level = "allow", priority = -1 }
pedantic = { level = "warn", priority = -1 }
disallowed-macros = "allow"
missing-panics-doc = "allow"

0 comments on commit a65fdc5

Please sign in to comment.