Skip to content

Commit 7f9832f

Browse files
Add ':' and ';' to allowed punctuation
1 parent a4fa470 commit 7f9832f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydocstringformatter/formatting/formatter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class FinalPeriodFormatter(StringAndQuotesFormatter):
6565
"""Add a period to the end of single line docstrings and summaries."""
6666

6767
name = "final-period"
68-
END_OF_SENTENCE_PUNCTUATION = {".", "?", "!", "‽"}
68+
END_OF_SENTENCE_PUNCTUATION = {".", "?", "!", "‽", ":", ";"}
6969

7070
def _treat_string(
7171
self,

0 commit comments

Comments
 (0)