Skip to content

Commit 1ab7d0b

Browse files
committed
fix: pre-commit
1 parent 109cbf8 commit 1ab7d0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,8 +2559,10 @@ def to_py_docstring(self, max_length=100, links=None, base_url=None, fcache=None
25592559
fcache=fcache,
25602560
)
25612561
rst_description = replace_terms(rst_description, self._terms)
2562-
rst_description = ponctuaction_whitespace(rst_description, ".") # Remove extra whitespace before period
2563-
rst_description = ponctuaction_whitespace(rst_description, ",") # Remove extra whitespace before comma
2562+
# Remove extra whitespace before period
2563+
rst_description = ponctuaction_whitespace(rst_description, ".")
2564+
# Remove extra whitespace before comma
2565+
rst_description = ponctuaction_whitespace(rst_description, ",")
25642566

25652567
description_indent = " " * 4
25662568
if not " * " in rst_description:

0 commit comments

Comments
 (0)