diff --git a/ci_scripts/check_copy_from_parsed_into_sample_code.py b/ci_scripts/check_copy_from_parsed_into_sample_code.py index 838b34f216f..14424efdf40 100644 --- a/ci_scripts/check_copy_from_parsed_into_sample_code.py +++ b/ci_scripts/check_copy_from_parsed_into_sample_code.py @@ -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') diff --git a/pyproject.toml b/pyproject.toml index 70a56f6a5fc..e3eb6fca916 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,6 +82,5 @@ ignore = [ "PLR1722", "E401", "E711", - "F811", - "F821" + "F811" ]