Run clippy on all crates in workspace

This commit is contained in:
David Tolnay 2022-10-08 12:23:35 -07:00
parent 38acd92a4b
commit 35ccb3f549
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 14 additions and 2 deletions

View File

@ -61,7 +61,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy - 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: outdated:
name: Outdated name: Outdated

View File

@ -1,3 +1,5 @@
#![allow(clippy::type_complexity, clippy::uninlined_format_args)]
use image::{ImageBuffer, Rgb}; use image::{ImageBuffer, Rgb};
use std::process; use std::process;

View File

@ -8,8 +8,18 @@
// $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set > tests/trie/trie.rs // $ ucd-generate property-bool UCD --include XID_Start,XID_Continue --trie-set > tests/trie/trie.rs
// $ cargo run --manifest-path generate/Cargo.toml // $ 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] #[rustfmt::skip]
#[allow(dead_code)] #[allow(dead_code, clippy::all)]
mod ucd; mod ucd;
mod output; mod output;