Skip to content
Discussion options

You must be logged in to vote

I think that you mislead how pre-commit works. It is no concept of warnings, only pass or fail and when it passes it hides all the output generated by the passed hook.

This means that you need to make it run in strict mode if you want to be able to act on warnings... basically strict converts all warnings to errors. If you don't like this, I invite you to ask on https://github.com/pre-commit/pre-commit/

Also, please use discussions instead of issue tracker.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by GarrisonD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2855 on January 01, 2023 11:37.