We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5914c21 commit 52e0162Copy full SHA for 52e0162
ci_scripts/check_api_docs_en.py
@@ -95,7 +95,7 @@ def check_system_message_in_doc(doc_file):
95
96
if __name__ == '__main__':
97
args = parse_args()
98
- py_files = [fn for fn in args.py_files.split('\n')]
+ py_files = list(args.py_files.split('\n'))
99
# 此处获取的全路径是 python/paddle/amp/auto_cast.py,在 api_info_all.json 中的路径是 /paddle/amp/auto_cast.py
100
# 做字符串替换
101
for i in range(len(py_files)):
pyproject.toml
@@ -82,7 +82,6 @@ ignore = [
82
"PLR1722",
83
"C403",
84
"C414",
85
- "C416",
86
"E401",
87
"E711",
88
"E712",
0 commit comments