pocc / pre-commit-hooks

C/C++ hooks to integrate with pre-commit
Apache License 2.0
323 stars 67 forks source link

Mistake in comment ? #61

Open Adrimeov opened 1 year ago

Adrimeov commented 1 year ago

https://github.com/pocc/pre-commit-hooks/blob/336fdd7c3cab698ead0b1c95157b9e74d3906b62/hooks/clang_tidy.py#L22

The comment above seems misleading; passing --fix-errors seems to actually trigger the error if one is found..

pocc commented 1 year ago

Can you provide an MCVE demonstrating this? Expected vs Actual, etc

https://meta.stackoverflow.com/questions/366988/what-does-mcve-mean