diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3336960177..e5638912cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,3 +32,10 @@ repos: hooks: - id: typos exclude: '^(.typos.toml|src/SmithWaterman.cc|testing/.*|auxil/.*|scripts/base/frameworks/files/magic/.*|CHANGES)$' + +- repo: https://github.com/bbannier/spicy-format + rev: v0.15.0 + hooks: + - id: spicy-format + # TODO: Reformat existing large analyzers just before 8.0. + exclude: '(^testing/.*)|(protocol/ldap/.*)|(protocol/quic/.*)|(protocol/websocket/.*)'