1
0
mirror of synced 2024-11-13 00:18:55 +01:00
modern-cmake/.pre-commit-config.yaml
Henry Schreiner f2e36349bf
fix: minor cleanups
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2022-06-02 14:29:51 -04:00

23 lines
548 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: \.cmake$
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
- id: fix-encoding-pragma
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml]