diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7eceb16..2332fa5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,4 +7,5 @@ repos: rev: v0.6.13 hooks: - id: cmake-format - - id: cmake-lint \ No newline at end of file + - id: cmake-lint + args: [--disabled-codes=C0301] diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 77968ec..eae94de 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -9,9 +9,7 @@ if(NOT pybind11_FOUND) endif() # Needed to set ${Python_VERSION_MAJOR} and ${Python_VERSION_MINOR} -find_package( - Python REQUIRED -) +find_package(Python REQUIRED) pybind11_add_module(pytrigdx bindings.cpp) target_link_libraries(pytrigdx PRIVATE trigdx)