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

include-what-you-use does not fail #55

Open
donion74 opened this issue Nov 25, 2022 · 0 comments
Open

include-what-you-use does not fail #55

donion74 opened this issue Nov 25, 2022 · 0 comments

Comments

@donion74
Copy link

donion74 commented Nov 25, 2022

include-what-you-use does not fail even if it is supposed to fail. I needed to modify my pre-commit yaml file to include the line entry:

repos:
  - repo: https://github.com/pocc/pre-commit-hooks
    rev: v1.3.5
    hooks:
      - id: uncrustify
      - id: include-what-you-use
        entry: include-what-you-use -Xiwyu --error=1
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