Skip to content

Commit

Permalink
[Docathon][CodeStyle Fix No.19] enable F821 rule (PaddlePaddle#6269)
Browse files Browse the repository at this point in the history
  • Loading branch information
ooooo-create authored Oct 29, 2023
1 parent cf6e8f8 commit fefb653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci_scripts/check_copy_from_parsed_into_sample_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run_copy_from_check(output_path, pr_files):
sys.exit(0)
for file in pr_files:
if '_cn.rst' not in file:
return error_parsed
continue
# find the Chinese HTML file for PR File
error_parsed = check_copy_from_not_parsed(
output_path + file.replace('_cn.rst', '_cn.html')
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,5 @@ ignore = [
"PLR1722",
"E401",
"E711",
"F811",
"F821"
"F811"
]

0 comments on commit fefb653

Please sign in to comment.