pre-commit autoupdate (#651)

passes
This commit is contained in:
Adeeb Shihadeh
2025-09-06 17:47:52 -07:00
committed by GitHub
parent 933390f17a
commit 89096d90d2
8 changed files with 16 additions and 5 deletions

View File

@@ -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:

View File

@@ -5,6 +5,7 @@
#include <string>
#include <exception>
#include <filesystem>
#include <vector>
#include <unistd.h>
#include <poll.h>

View File

@@ -1,3 +1,4 @@
#include <vector>
#include "msgq/impl_fake.h"
void FakePoller::registerSocket(SubSocket *socket) {

View File

@@ -3,6 +3,8 @@
#include <iostream>
#include <cstdlib>
#include <cerrno>
#include <string>
#include <vector>
#include "msgq/impl_msgq.h"

View File

@@ -4,6 +4,8 @@
#include <cstdlib>
#include <cerrno>
#include <unistd.h>
#include <string>
#include <vector>
#include "msgq/impl_zmq.h"

View File

@@ -1,5 +1,6 @@
#include <cassert>
#include <iostream>
#include <string>
#include "msgq/ipc.h"
#include "msgq/impl_zmq.h"

View File

@@ -2,6 +2,8 @@
#include <cassert>
#include <iostream>
#include <thread>
#include <string>
#include <set>
#include <unistd.h>
#include "msgq/visionipc/visionipc.h"

View File

@@ -3,6 +3,8 @@
#include <cassert>
#include <random>
#include <limits>
#include <string>
#include <vector>
#include <poll.h>
#include <sys/socket.h>