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
eb55ea13b2
commit
8aa45c6476
4 changed files with 6 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.7
|
rev: v20.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
types_or:
|
types_or:
|
||||||
|
@ -22,13 +22,13 @@ repos:
|
||||||
- "json"
|
- "json"
|
||||||
|
|
||||||
- repo: https://github.com/maxwinterstein/shfmt-py
|
- repo: https://github.com/maxwinterstein/shfmt-py
|
||||||
rev: v3.7.0.1
|
rev: v3.11.0.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: shfmt
|
- id: shfmt
|
||||||
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.9.9
|
rev: v0.11.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Analyzer;
|
||||||
*/
|
*/
|
||||||
class Component : public plugin::Component {
|
class Component : public plugin::Component {
|
||||||
public:
|
public:
|
||||||
using factory_callback = Analyzer* (*)(Connection* conn);
|
using factory_callback = Analyzer* (*)(Connection * conn);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ReaderBackend;
|
||||||
*/
|
*/
|
||||||
class Component : public plugin::Component {
|
class Component : public plugin::Component {
|
||||||
public:
|
public:
|
||||||
using factory_callback = ReaderBackend* (*)(ReaderFrontend* frontend);
|
using factory_callback = ReaderBackend* (*)(ReaderFrontend * frontend);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
@ -15,7 +15,7 @@ class WriterBackend;
|
||||||
*/
|
*/
|
||||||
class Component : public plugin::Component {
|
class Component : public plugin::Component {
|
||||||
public:
|
public:
|
||||||
using factory_callback = WriterBackend* (*)(WriterFrontend* frontend);
|
using factory_callback = WriterBackend* (*)(WriterFrontend * frontend);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue