File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class FinalPeriodFormatter(SummaryFormatter):
8686 def _treat_summary (self , summary : str , indent_length : int ) -> str :
8787 """Add a period to the end of single-line docstrings and summaries."""
8888 if summary [- 1 ] in self .END_OF_SENTENCE_PUNCTUATION :
89- return summary
89+ return summary + "."
9090
9191 # If second line is one recurring character we're dealing with a rst title
9292 last_line = summary .splitlines ()[- 1 ].lstrip ()
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def _fix_diff(output: str) -> str:
1616 new_output .append ("```\n " )
1717 new_output .append (
1818 line .replace (
19- "--- .pydocstringformatter_primer_tests/PyCQA/pylint/" ,
19+ "--- ../. pydocstringformatter_primer_tests/PyCQA/pylint/" ,
2020 "https://github.com/PyCQA/pylint/blob/main/" ,
2121 )
2222 )
You can’t perform that action at this time.
0 commit comments