You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to run all of the hooks only on specific directories. To achieve this I'm using file exclude pattern. The exclude works for the clang-format but not for the clang-tidy (for example it reports errors in Utilities directory with manufacturer files). Basically clang-tidy takes all files.
How I can make the exclude pattern work for clang-tidy also? I saw files: .*\.c option but I would have to repeat the excludes in - id: clang-tidyhook
PS. I noticed cpplint also runs on all the files and ignores file exclude pattern
Hi,
I would like to run all of the hooks only on specific directories. To achieve this I'm using file exclude pattern. The exclude works for the clang-format but not for the clang-tidy (for example it reports errors in Utilities directory with manufacturer files). Basically clang-tidy takes all files.
How I can make the exclude pattern work for clang-tidy also? I saw
files: .*\.c
option but I would have to repeat the excludes in- id: clang-tidy
hookPS. I noticed cpplint also runs on all the files and ignores file exclude pattern
Here is my config file:
The text was updated successfully, but these errors were encountered: