Commit e37bc579 authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Fix typo in error message

parent 17efc806
...@@ -635,7 +635,7 @@ def check_docstrings_are_in_md(): ...@@ -635,7 +635,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" + "To 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