-
-
Notifications
You must be signed in to change notification settings - Fork 914
Description
Hi,
While integrating flake8 as a hook, I'm trying to have certain checks (like complexity warnings) run on every commit but I don't necessarily want them to be blocking. flake8 has this very nice --exit-zero flag that allows this but the only way to get the output printed through pre-commit is to run pre-commit with --verbose but this prints a ton of useless information from other hooks.
My suggestion is to allow a 'verbose' flag to be set per hook as opposed to existing --verbose which is set globally. IMO it would allow to have extremely valuable information out of flake8 and pylint for instance. I could even run part of flake8 as being blocking, and other part as being non-blocking.
Let me know your thoughts, I'd be happy to work on this