mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Bump pre-commit hooks
This commit is contained in:
parent
f5a76c1aed
commit
26d04fd9fc
13 changed files with 22 additions and 19 deletions
|
@ -3,9 +3,12 @@
|
||||||
#
|
#
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: 'v13.0.0'
|
rev: 'v17.0.3'
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
|
types_or:
|
||||||
|
- "c"
|
||||||
|
- "c++"
|
||||||
|
|
||||||
- repo: https://github.com/maxwinterstein/shfmt-py
|
- repo: https://github.com/maxwinterstein/shfmt-py
|
||||||
rev: v3.7.0.1
|
rev: v3.7.0.1
|
||||||
|
@ -14,7 +17,7 @@ repos:
|
||||||
args: ["-w", "-i", "4", "-ci"]
|
args: ["-w", "-i", "4", "-ci"]
|
||||||
|
|
||||||
- repo: https://github.com/google/yapf
|
- repo: https://github.com/google/yapf
|
||||||
rev: v0.40.0
|
rev: v0.40.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: yapf
|
- id: yapf
|
||||||
|
|
||||||
|
@ -25,7 +28,7 @@ repos:
|
||||||
exclude: '^auxil/.*$'
|
exclude: '^auxil/.*$'
|
||||||
|
|
||||||
- repo: https://github.com/crate-ci/typos
|
- repo: https://github.com/crate-ci/typos
|
||||||
rev: v1.16.8
|
rev: v1.16.21
|
||||||
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)$'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue