mirror of
https://gitee.com/openharmony/third_party_rust_unicode-ident
synced 2024-11-23 07:29:52 +00:00
Merge pull request #17 from dtolnay/clippy
Run clippy on all crates in workspace
This commit is contained in:
commit
5465e7b606
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