提交 e685ed34 编写于 作者: B barrierye

fix codestyle check

上级 1627446b
......@@ -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.
先完成此消息的编辑!
想要评论请 注册