Update check_repo.py (#15014)

added new line
This commit is contained in:
Kamal Raj
2022-01-10 17:25:43 +05:30
committed by GitHub
parent 0a03a86813
commit 9fbf7c87c3

View File

@@ -665,7 +665,7 @@ def check_docstrings_are_in_md():
raise ValueError( raise ValueError(
"The following files have docstrings written in rst:\n" "The following files have docstrings written in rst:\n"
+ "\n".join([f"- {f}" for f in files_with_rst]) + "\n".join([f"- {f}" for f in files_with_rst])
+ "To fix this run `doc-builder convert path_to_py_file` after installing `doc-builder`\n" + "\nTo fix this run `doc-builder convert path_to_py_file` after installing `doc-builder`\n"
"(`pip install git+https://github.com/huggingface/doc-builder`)" "(`pip install git+https://github.com/huggingface/doc-builder`)"
) )