Skip to content

disable "deny warning" #17

@danieleades

Description

@danieleades

should this hook provide a way to disable the 'deny warnings' flag?

many codebases (including my own) use compiler flags to set the warning level for clippy lints. the 'deny warnings' flag escalates them further, beyond the original intention of the author.

for a concrete example, i tend to use

#![deny(clippy::all)]
#![warn(clippy::pedantic)]

this hook effectively elevates this to

#![deny(clippy::all)]
#![deny(clippy::pedantic)]

this is a nightmare for reproducible builds, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions