Skip to content

Commit

Permalink
Merge pull request #142 from chenghuaWang/main
Browse files Browse the repository at this point in the history
fix: clang-tidy, set line width to 100
  • Loading branch information
yirongjie authored Sep 19, 2024
2 parents 2e1dd25 + d6056cd commit 8316360
Show file tree
Hide file tree
Showing 22 changed files with 5,450 additions and 4,215 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ BreakConstructorInitializers: AfterColon
BreakStringLiterals: false

# 每行字符的限制,0表示没有限制
ColumnLimit: 0
ColumnLimit: 100

CompactNamespaces: true

Expand Down
6 changes: 3 additions & 3 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
# portability-*,
Checks: >
-*,
-openmp-exception-escape
-openmp-use-default-none
-openmp-exception-escape,
-openmp-use-default-none,
readability-identifier-naming,
readability-*,
-readability-convert-member-functions-to-static,
Expand All @@ -22,7 +22,7 @@ Checks: >
# Turn all the warnings from the checks above into errors.
WarningsAsErrors: "*"
HeaderFilterRegex: ".*\.hpp$&!gguf\.hpp"
HeaderFilterRegex: ".*\\.hpp$&!gguf\\.hpp"
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ src/backends/qnn/HexagonSDK/*
examples/demo_deepseek.cpp
examples/demo_xllm.cpp
src/models/xllm/*
src/models/deepseek/*
src/models/deepseek/*
tmp/
py-build-out/
mllm.egg-info/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "android"]
path = android
url = https://github.com/lx200916/ChatBotApp
[submodule "third_party/pybind11"]
path = third_party/pybind11
url = https://github.com/pybind/pybind11.git
Loading

0 comments on commit 8316360

Please sign in to comment.