Skip to content

Commit

Permalink
run cmake format
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 31, 2020
1 parent 30ce2eb commit c56dc12
Show file tree
Hide file tree
Showing 71 changed files with 3,006 additions and 3,235 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ repos:
- id: cmake-format
name: CMake Format
language: python
entry: bash -c "pip install cmake-format && python run-cmake-format.py --check"
entry: echo
files: ^(.*/CMakeLists.txt|.*.cmake)$
entry: cmake-format --in-place --autosort=false
files: CMakeLists\.txt$|^cpp/cmake_modules/
additional_dependencies:
- cmake_format==0.6.13
- id: hadolint
name: Docker Format
language: docker_image
Expand Down
Loading

0 comments on commit c56dc12

Please sign in to comment.