mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Bump pre-commit hooks
This commit is contained in:
parent
d3d7c54686
commit
5d44073b94
4 changed files with 7 additions and 6 deletions
|
@ -13,7 +13,7 @@ repos:
|
|||
exclude: '^(testing/btest/(Baseline|plugins|spicy|scripts)/.*|testing/builtin-plugins/.*)$'
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: 'v19.1.4'
|
||||
rev: v19.1.7
|
||||
hooks:
|
||||
- id: clang-format
|
||||
types_or:
|
||||
|
@ -28,7 +28,7 @@ repos:
|
|||
args: ["-w", "-i", "4", "-ci"]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.8.1
|
||||
rev: v0.9.9
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [--fix]
|
||||
|
@ -40,13 +40,13 @@ repos:
|
|||
- id: cmake-format
|
||||
|
||||
- repo: https://github.com/crate-ci/typos
|
||||
rev: v1.28.2
|
||||
rev: v1.30.1
|
||||
hooks:
|
||||
- id: typos
|
||||
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
|
||||
rev: v0.23.0
|
||||
rev: v0.24.2
|
||||
hooks:
|
||||
- id: spicy-format
|
||||
# TODO: Reformat existing large analyzers just before 8.0.
|
||||
|
|
|
@ -55,6 +55,7 @@ extend-ignore-identifiers-re = [
|
|||
"iin", # In DNP3.
|
||||
"(ScValidatePnPService|ScSendPnPMessage)", # In DCE-RPC.
|
||||
"snet", # Used as shorthand for subnet in base scripts.
|
||||
"typ",
|
||||
"(e|i)it", # Used as name for some iterators.
|
||||
]
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ export {
|
|||
## for more details.
|
||||
const linger_ms: int = 500 &redef;
|
||||
|
||||
## Configure ZeroMQ's immedidate setting on PUSH sockets
|
||||
## Configure ZeroMQ's immediate setting on PUSH sockets
|
||||
##
|
||||
## Setting this to ``T`` will queue log writes only to completed
|
||||
## connections. By default, log writes are queued to all potential
|
||||
|
|
|
@ -53,7 +53,7 @@ private:
|
|||
Cookie _cookie;
|
||||
};
|
||||
|
||||
/** Base clase for Spicy protocol analyzers. */
|
||||
/** Base class for Spicy protocol analyzers. */
|
||||
class ProtocolAnalyzer {
|
||||
public:
|
||||
ProtocolAnalyzer(analyzer::Analyzer* analyzer, ::spicy::rt::driver::ParsingType type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue