This repository contains configuration to add cmake-format hooks to a git project using pre-commit.
To add cmake-format and cmake-lint to your pre-commit configuration,
add something like the following to your .pre-commit-config.yaml file:
repos:
  - repo: https://github.com/cheshirekow/cmake-format-precommit
    rev: v0.6.10
    hooks:
    - id: cmake-format
    - id: cmake-lintThanks to @aharrison24 for prototyping configuration in this issue and this repository and to @asottile for showing us how to create a configuration that sources from pypi.org.