(base) ➜ wespeaker-update git:(chengdong-lint-all) ✗ git commit -m "[lint] auto format all by pre-commit, including c++, python"
trim trailing whitespace.................................................Passed
yapf.....................................................................Passed
flake8...................................................................Passed
clang-format.............................................................Passed
cpplint..................................................................Passed
[chengdong-lint-all 8f49658] [lint] auto format all by pre-commit, including c++, python
Committer: user01 <user01@user01deMacBook-Pro.local>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
71 files changed, 779 insertions(+), 542 deletions(-)
create mode 100644 .clang-format
follow: https://github.com/wenet-e2e/wenet/pull/2199 Automatic reformat all the old code by
pre-commit run --all-files
, and then we got