mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-05 14:11:43 +00:00
format: add cmake-format to pre-commit
This commit is contained in:
committed by
Henry Schreiner
parent
1651c32492
commit
e2a96890e1
@@ -26,6 +26,12 @@ repos:
|
||||
additional_dependencies: [flake8-bugbear, pep8-naming]
|
||||
exclude: ^(docs/.*|tools/.*)$
|
||||
|
||||
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||
rev: v0.6.10
|
||||
hooks:
|
||||
- id: cmake-format
|
||||
additional_dependencies: [pyyaml]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: check-style
|
||||
|
||||
Reference in New Issue
Block a user