Open
Description
Hi, I am trying to use the clang-tidy hook.
my .pre-commit-config.yaml looks something like:
`repos:
- repo: https://github.com/pocc/pre-commit-hooks
rev: master
hooks:- id: clang-tidy
args: ['-p some/folder']`
- id: clang-tidy
Notice the args. I specify the path to the database.
When trying to run, I get:
clang-tidy: for the -p option: may not occur within a group! error: clang-tidy: Unknown command line argument '-p build/meson'. Try: 'clang-tidy --help' clang-tidy: Did you mean '-p'?
Thank you for your help
Metadata
Metadata
Assignees
Labels
No labels