Skip to content

clang-tidy: for the -p option: may not occur within a group! #58

Open
@qawiretu

Description

@qawiretu

Hi, I am trying to use the clang-tidy hook.
my .pre-commit-config.yaml looks something like:
`repos:

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

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