Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run clippy on all crates in workspace #17

Merged
merged 1 commit into from Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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