zeek/auxil/zeekctl/cmake/.pre-commit-config.yaml
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

22 lines
632 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
#
repos:
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
exclude: '^(FindBISON|FindOpenSSL|FindPackageHandleStandardArgs|FindPackageMessage|SelectLibraryConfigurations|conan).cmake$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: '^(FindOpenSSL|conan).cmake$'
- repo: https://github.com/maxwinterstein/shfmt-py
rev: v3.11.0.2
hooks:
- id: shfmt
args: ["-w", "-i", "4", "-ci"]