Skip to content

Commit

Permalink
Merge pull request #17 from dtolnay/clippy
Browse files Browse the repository at this point in the history
Run clippy on all crates in workspace
  • Loading branch information
dtolnay committed Oct 8, 2022
2 parents 38acd92 + 35ccb3f commit 5465e7b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic
- run: cargo clippy --tests --benches --workspace -- -Dclippy::all -Dclippy::pedantic

outdated:
name: Outdated
Expand Down
2 changes: 2 additions & 0 deletions diagram/src/main.rs
@@ -1,3 +1,5 @@
#![allow(clippy::type_complexity, clippy::uninlined_format_args)]

use image::{ImageBuffer, Rgb};
use std::process;

Expand Down
12 changes: 11 additions & 1 deletion generate/src/main.rs
Expand Up @@ -8,8 +8,18 @@
// $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set > tests/trie/trie.rs
// $ cargo run --manifest-path generate/Cargo.toml

#![allow(
clippy::cast_lossless,
clippy::cast_possible_truncation,
clippy::match_wild_err_arm,
clippy::redundant_closure_for_method_calls,
clippy::too_many_lines,
clippy::uninlined_format_args,
clippy::unreadable_literal
)]

#[rustfmt::skip]
#[allow(dead_code)]
#[allow(dead_code, clippy::all)]
mod ucd;

mod output;
Expand Down

0 comments on commit 5465e7b

Please sign in to comment.