hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Clippy Analysis to CI

Open mastrzyz opened this issue 3 years ago • 0 comments

Enables Clippy in the CI as a need of the top-level ci-pass job. Resolution for #2977 Disabled the current violations :

#![allow(
    clippy::needless_borrow,
    clippy::module_inception,
    clippy::useless_format,
    clippy::redundant_clone,
    clippy::manual_non_exhaustive,
    dead_code,
    unused_imports
)]

And explicitly enabled the one requested one :

#![deny(clippy::self_named_module_files)]

Result :

    Checking hyper v1.0.0-dev.0 (/home/runner/work/hyperclip/hyperclip)
    Finished dev [unoptimized + debuginfo] target(s) in 53.42s

If we have a violation , we would see :

error: could not compile `hyper` due to previous error

mastrzyz avatar Sep 13 '22 05:09 mastrzyz