Skip to content

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

Open
@donion74

Description

@donion74

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions