mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Bump spicy-format
pre-commit hook
pre-commit ignores Cargo.lock files for Rust projects, so any movement in a Rust project's dependencies can break a hook, even if no code in the hook changed. I have tried to work with upstream on a fix, but they basically told me they weren't interested and to get lost. This bumps the `spicy-format` pre-commit hook to a new version which explicitly deals with bumps of its dependencies. Having to do this semi-regularly is not fun, and ideally somebody interested in using this hook would help set up infrastructure in the hook so it just pulls pre-built binaries. This is not directly supported by pre-commit, but many projects work around this by declaring a Python module which then pulls pre-build binaries which already exist for spicy-format.
This commit is contained in:
parent
9322687823
commit
b959ba3395
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ repos:
|
||||||
exclude: '^(.typos.toml|src/SmithWaterman.cc|testing/.*|auxil/.*|scripts/base/frameworks/files/magic/.*|CHANGES|scripts/base/protocols/ssl/mozilla-ca-list.zeek)$'
|
exclude: '^(.typos.toml|src/SmithWaterman.cc|testing/.*|auxil/.*|scripts/base/frameworks/files/magic/.*|CHANGES|scripts/base/protocols/ssl/mozilla-ca-list.zeek)$'
|
||||||
|
|
||||||
- repo: https://github.com/bbannier/spicy-format
|
- repo: https://github.com/bbannier/spicy-format
|
||||||
rev: v0.24.2
|
rev: v0.25.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: spicy-format
|
- id: spicy-format
|
||||||
# TODO: Reformat existing large analyzers just before 8.0.
|
# TODO: Reformat existing large analyzers just before 8.0.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue