Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update debug infor
  • Loading branch information
shenxianpeng committed Dec 21, 2023
commit cae77b86810763dae937a46e784701f1cef8d5cd
1 change: 0 additions & 1 deletion cpp_linter_hooks/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ def get_expect_version(args) -> str:
# when --version=14
expect_version = arg.replace(" ", "").replace("=", "").replace("--version", "")
return expect_version
print(arg)
return ""
2 changes: 1 addition & 1 deletion testing/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/cpp-linter/cpp-linter-hooks
rev: d59f2627a2bbb3bba3da08299f556787e15ed81e
rev: 2a92e91720ca4bc79d67c3e4aea57642f598d534
hooks:
- id: clang-format
args: [--style=file, --version=15] # to load .clang-format
Expand Down
8 changes: 1 addition & 7 deletions testing/main.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
#include <stdio.h>
int main()
{
for (;;)
break;
printf("Hello world!\n");
return 0;
}
int main() {for (;;) break; printf("Hello world!\n");return 0;}