Skip to content

Commit

Permalink
fix cpplint
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Dec 5, 2024
1 parent d69ad45 commit 0e61874
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ repos:
- id: clang-format
args: [--style=file]
- id: cpplint
args: [--filter=-build/include_subdir]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
Expand Down
1 change: 0 additions & 1 deletion src/kernel/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ void _start(uint32_t argc, uint8_t *argv) {

// 进入死循环
while (1) {
;
}
}

Expand Down
1 change: 1 addition & 0 deletions tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RUN apt install --no-install-recommends --fix-missing -y \
uncrustify \
iwyu \
cppcheck \
cpplint \
lcov
RUN locale-gen en_US.UTF-8 && locale-gen zh_CN.UTF-8 \
&& mkdir -p /var/run/sshd \
Expand Down

0 comments on commit 0e61874

Please sign in to comment.