提交 15637898 编写于 作者: M Megvii Engine Team

chore(style): skip generated stub files for format checking

GitOrigin-RevId: 1bd03bca4531a3132c2dab2677a53fbcf4b0605f
上级 55e9c831
...@@ -31,4 +31,4 @@ fi ...@@ -31,4 +31,4 @@ fi
# do not isort megengine/__init__.py file, caused we must # do not isort megengine/__init__.py file, caused we must
# init library load path before load dependent lib in core # init library load path before load dependent lib in core
isort $ISORT_ARG -j $(nproc) -rc "${directories[@]}" -s megengine/__init__.py isort $ISORT_ARG -j $(nproc) -rc "${directories[@]}" -s megengine/__init__.py
black $BLACK_ARG --target-version=py35 -- "${directories[@]}" black $BLACK_ARG --target-version=py35 --exclude='_imperative_rt/.*\.pyi$' -- "${directories[@]}"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册