Skip to content

Commit 3ce405f

Browse files
committed
Let's make a change
1 parent badb0cd commit 3ce405f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pydocstringformatter/formatting/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

pydocstringformatter/testutils/primer/primer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)