cmake-format-precommit icon indicating copy to clipboard operation
cmake-format-precommit copied to clipboard

pre-commit hooks specification for cmake-format

Results 3 cmake-format-precommit issues
Sort by recently updated
recently updated
newest added

This hook was failing due to a ModuleNotFoundError: No module named 'yaml'. I have updated the setup config to add pyyaml>=5.1, fixing that error. Before: ![imagen](https://user-images.githubusercontent.com/21078900/111960139-a54c7400-8aef-11eb-8f1e-299ba519845f.png) After: ![imagen](https://user-images.githubusercontent.com/21078900/111960243-c614c980-8aef-11eb-8772-803af900a35e.png)

Some commands seem to require it, i.e. https://github.com/cheshirekow/cmake_format/blob/eff5df1f41c665ea7cac799396042e4f406ef09a/cmakelang/format/__main__.py#L208-L220 These should be included in this precommit package

Because I was astonished when realized that cmake-format doesn't work anymore after adding arguments Something like that ``` args: - --line-width=119 - --tab-size=4 ```