mirror of
https://gitee.com/openharmony/third_party_rust_unicode-ident
synced 2024-11-26 17:21:06 +00:00
Run clippy on all crates in workspace
This commit is contained in:
parent
38acd92a4b
commit
35ccb3f549
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(clippy::type_complexity, clippy::uninlined_format_args)]
|
||||
|
||||
use image::{ImageBuffer, Rgb};
|
||||
use std::process;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user