Unverified Commit 9fbf7c87 authored by Kamal Raj's avatar Kamal Raj Committed by GitHub
Browse files

Update check_repo.py (#15014)

added new line
parent 0a03a868
...@@ -665,7 +665,7 @@ def check_docstrings_are_in_md(): ...@@ -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`)"
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment