2 Commits

Author SHA1 Message Date
Bram Veenboer
136fcc7ba1 Skip line-length check in cmake-lint 2025-10-09 12:58:36 +02:00
Bram Veenboer
60182d8959 Run pre-commit 2025-10-09 12:02:05 +02:00
2 changed files with 3 additions and 4 deletions

View File

@@ -8,3 +8,4 @@ repos:
hooks:
- id: cmake-format
- id: cmake-lint
args: [--disabled-codes=C0301]

View File

@@ -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)