Skip to content

Commit 89096d9

Browse files
pre-commit autoupdate (#651)
passes
1 parent 933390f commit 89096d9

8 files changed

Lines changed: 16 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
files: ^msgq/
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
4+
rev: v6.0.0
55
hooks:
66
- id: check-ast
77
- id: check-yaml
88
- id: check-executables-have-shebangs
99
- id: check-shebang-scripts-are-executable
1010
- repo: https://github.com/pre-commit/mirrors-mypy
11-
rev: v1.9.0
11+
rev: v1.17.1
1212
hooks:
1313
- id: mypy
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.3.5
15+
rev: v0.12.12
1616
hooks:
1717
- id: ruff
1818
- repo: local
@@ -32,7 +32,7 @@ repos:
3232
- -j4
3333
- --check-level=exhaustive
3434
- repo: https://github.com/cpplint/cpplint
35-
rev: 1.6.1
35+
rev: 2.0.2
3636
hooks:
3737
- id: cpplint
3838
args:
@@ -41,7 +41,7 @@ repos:
4141
- --linelength=240
4242
- --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
4343
- repo: https://github.com/codespell-project/codespell
44-
rev: v2.2.6
44+
rev: v2.4.1
4545
hooks:
4646
- id: codespell
4747
args:

msgq/event.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <string>
66
#include <exception>
77
#include <filesystem>
8+
#include <vector>
89

910
#include <unistd.h>
1011
#include <poll.h>

msgq/impl_fake.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <vector>
12
#include "msgq/impl_fake.h"
23

34
void FakePoller::registerSocket(SubSocket *socket) {

msgq/impl_msgq.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <iostream>
44
#include <cstdlib>
55
#include <cerrno>
6+
#include <string>
7+
#include <vector>
68

79
#include "msgq/impl_msgq.h"
810

msgq/impl_zmq.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <cstdlib>
55
#include <cerrno>
66
#include <unistd.h>
7+
#include <string>
8+
#include <vector>
79

810
#include "msgq/impl_zmq.h"
911

msgq/ipc.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <cassert>
22
#include <iostream>
3+
#include <string>
34

45
#include "msgq/ipc.h"
56
#include "msgq/impl_zmq.h"

msgq/visionipc/visionipc_client.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include <cassert>
33
#include <iostream>
44
#include <thread>
5+
#include <string>
6+
#include <set>
57

68
#include <unistd.h>
79
#include "msgq/visionipc/visionipc.h"

msgq/visionipc/visionipc_server.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#include <cassert>
44
#include <random>
55
#include <limits>
6+
#include <string>
7+
#include <vector>
68

79
#include <poll.h>
810
#include <sys/socket.h>

0 commit comments

Comments
 (0)