Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: python bindings, clang-tidy, set line width to 100 #142

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading