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

disable "deny warning" #17

Open
danieleades opened this issue Sep 17, 2021 · 0 comments
Open

disable "deny warning" #17

danieleades opened this issue Sep 17, 2021 · 0 comments

Comments

@danieleades
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant