diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c24e0b23d..60271fafe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ files: ^msgq/ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-ast - id: check-yaml - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.17.1 hooks: - id: mypy - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.5 + rev: v0.12.12 hooks: - id: ruff - repo: local @@ -32,7 +32,7 @@ repos: - -j4 - --check-level=exhaustive - repo: https://github.com/cpplint/cpplint - rev: 1.6.1 + rev: 2.0.2 hooks: - id: cpplint args: @@ -41,7 +41,7 @@ repos: - --linelength=240 - --filter=-build,-legal,-readability,-runtime,-whitespace,+build/include_subdir,+build/forward_decl,+build/include_what_you_use,+build/deprecated,+whitespace/comma,+whitespace/line_length,+whitespace/empty_if_body,+whitespace/empty_loop_body,+whitespace/empty_conditional_body,+whitespace/forcolon,+whitespace/parens,+whitespace/semicolon,+whitespace/tab,+readability/braces - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.4.1 hooks: - id: codespell args: diff --git a/msgq/event.cc b/msgq/event.cc index be782e3b8..7f1625a33 100644 --- a/msgq/event.cc +++ b/msgq/event.cc @@ -5,6 +5,7 @@ #include #include #include +#include #include #include diff --git a/msgq/impl_fake.cc b/msgq/impl_fake.cc index a7607206f..682990109 100644 --- a/msgq/impl_fake.cc +++ b/msgq/impl_fake.cc @@ -1,3 +1,4 @@ +#include #include "msgq/impl_fake.h" void FakePoller::registerSocket(SubSocket *socket) { diff --git a/msgq/impl_msgq.cc b/msgq/impl_msgq.cc index 01db7236d..12725e52f 100644 --- a/msgq/impl_msgq.cc +++ b/msgq/impl_msgq.cc @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include "msgq/impl_msgq.h" diff --git a/msgq/impl_zmq.cc b/msgq/impl_zmq.cc index e6705e602..1518be750 100644 --- a/msgq/impl_zmq.cc +++ b/msgq/impl_zmq.cc @@ -4,6 +4,8 @@ #include #include #include +#include +#include #include "msgq/impl_zmq.h" diff --git a/msgq/ipc.cc b/msgq/ipc.cc index f620f46fa..e96f4076c 100644 --- a/msgq/ipc.cc +++ b/msgq/ipc.cc @@ -1,5 +1,6 @@ #include #include +#include #include "msgq/ipc.h" #include "msgq/impl_zmq.h" diff --git a/msgq/visionipc/visionipc_client.cc b/msgq/visionipc/visionipc_client.cc index 19f130e60..3601119fb 100644 --- a/msgq/visionipc/visionipc_client.cc +++ b/msgq/visionipc/visionipc_client.cc @@ -2,6 +2,8 @@ #include #include #include +#include +#include #include #include "msgq/visionipc/visionipc.h" diff --git a/msgq/visionipc/visionipc_server.cc b/msgq/visionipc/visionipc_server.cc index e4fe89fb7..0b8579c87 100644 --- a/msgq/visionipc/visionipc_server.cc +++ b/msgq/visionipc/visionipc_server.cc @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include #include