Skip to content
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black.git
rev: 22.8.0
rev: 23.3.0
hooks:
- id: black
files: \.py$
Expand Down
1 change: 1 addition & 0 deletions ci_scripts/CAPItools/utils_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from utils import get_parameters, parse_doxygen


# 用于生成API文档的辅助类
# __init__ 初始化函数,调用decode
# decode 用于解析CppHeaderParser的解析信息
Expand Down
1 change: 1 addition & 0 deletions ci_scripts/check_api_label_cn.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
)
logger.setLevel(logging.INFO)


# check file's api_label
def check_api_label(rootdir, file):
real_file = Path(rootdir) / file
Expand Down
1 change: 0 additions & 1 deletion docs/api/gen_alias_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def get_func_and_class_from_paddle(self):
path=self.root_module.__path__,
prefix=self.root_module.__name__ + ".",
):

try:
m = eval(name)
except AttributeError:
Expand Down