Fix formatting (#35)

* Run pre-commit

* Skip line-length check in cmake-lint
This commit is contained in:
Bram Veenboer
2025-10-10 09:19:18 +02:00
committed by GitHub
parent bfe752433f
commit 500d35070e
2 changed files with 3 additions and 4 deletions

View File

@@ -7,4 +7,5 @@ repos:
rev: v0.6.13
hooks:
- id: cmake-format
- id: cmake-lint
- 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)