mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
pre-commit: Add spicy-format
This excludes the larger protocol analyzers. These should be formatted during the 7.2 cycle, shortly before 8.0.
This commit is contained in:
parent
d4a646cd21
commit
01ea74f8a8
1 changed files with 7 additions and 0 deletions
|
@ -32,3 +32,10 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
exclude: '^(.typos.toml|src/SmithWaterman.cc|testing/.*|auxil/.*|scripts/base/frameworks/files/magic/.*|CHANGES)$'
|
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/.*)'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue