未验证 提交 f53f8529 编写于 作者: B barriery 提交者: GitHub

Merge pull request #528 from barrierye/fix-codestyle-check

fix codestyle check
......@@ -23,6 +23,12 @@ function check_style() {
pre-commit install
clang-format --version
# virtualenv(20.0.19) was updated on May 3. The new version of virtualenv
# uses `sysconfig.get_makefile_filename`. But python2.7.5 does not support
# `sysconfig.get_makefile_filename`, only `sysconfig._get_makefile_filename`.
# See more: https://bugs.python.org/issue22199
pip install -U 'virtualenv==20.0.18'
if ! pre-commit run -a ; then
git diff
exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册