Skip to content
Snippets Groups Projects
Commit 2d44ade4 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

Add -i option to cmake_format to actually change files

parent 1e40b0e8
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ repos:
- id: cmake-format
additional_dependencies: [pyyaml>=5.1] # see https://github.com/cheshirekow/cmake-format-precommit/pull/4#issuecomment-943444582
exclude: "config.h.cmake"
args: ["--config-files=.cmake_format.py"]
args: ["-i", "--config-files=.cmake_format.py"]
# - id: cmake-lint
# additional_dependencies: [pyyaml>=5.1] # see https://github.com/cheshirekow/cmake-format-precommit/pull/4#issuecomment-943444582
# exclude: "config.h.cmake"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment