diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae59a17db9..d0d2c3b7cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.7 + rev: v20.1.0 hooks: - id: clang-format types_or: @@ -22,13 +22,13 @@ repos: - "json" - repo: https://github.com/maxwinterstein/shfmt-py - rev: v3.7.0.1 + rev: v3.11.0.2 hooks: - id: shfmt args: ["-w", "-i", "4", "-ci"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.9 + rev: v0.11.4 hooks: - id: ruff args: [--fix] diff --git a/src/analyzer/Component.h b/src/analyzer/Component.h index 3b4307134e..324cc6e5bb 100644 --- a/src/analyzer/Component.h +++ b/src/analyzer/Component.h @@ -24,7 +24,7 @@ class Analyzer; */ class Component : public plugin::Component { public: - using factory_callback = Analyzer* (*)(Connection* conn); + using factory_callback = Analyzer* (*)(Connection * conn); /** * Constructor. diff --git a/src/input/Component.h b/src/input/Component.h index 7ccca6db4e..c730fa152d 100644 --- a/src/input/Component.h +++ b/src/input/Component.h @@ -15,7 +15,7 @@ class ReaderBackend; */ class Component : public plugin::Component { public: - using factory_callback = ReaderBackend* (*)(ReaderFrontend* frontend); + using factory_callback = ReaderBackend* (*)(ReaderFrontend * frontend); /** * Constructor. diff --git a/src/logging/Component.h b/src/logging/Component.h index eca2412276..67e859898c 100644 --- a/src/logging/Component.h +++ b/src/logging/Component.h @@ -15,7 +15,7 @@ class WriterBackend; */ class Component : public plugin::Component { public: - using factory_callback = WriterBackend* (*)(WriterFrontend* frontend); + using factory_callback = WriterBackend* (*)(WriterFrontend * frontend); /** * Constructor.