Skip to content

pre-commit error report after PR #210 #213

@atztogo

Description

@atztogo

After merging PR #210, I met the following error of clang-tidy in pre-commit run --all-files

clang-tidy...............................................................Failed
- hook id: clang-tidy
- exit code: 1

/Users/togo/code/atztogo/spglib/src/spglib.c:60:10: error: 'version.h' file not found [clang-diagnostic-error]
#include "version.h"

If I understand correctly, version.h is generated by cmake. So its complain is correct. Is there any iade to avoid this error in clang-tidy?

Ping @LecrisUT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions