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