Skip to content

Commit 8aa5dbd

Browse files
committed
fix: remaining line length
1 parent 6bbfcee commit 8aa5dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3109,7 +3109,8 @@ def py_notes(self, custom_functions: CustomFunctions = None):
31093109
notes = self.notes.to_rst()
31103110

31113111
notes = replace_terms(notes, self._terms)
3112-
to_be_resized = re.findall(r"^[^\.\s].+(?=\n)|(?<=\n)([^\.\s].+)(?=\n)", notes)
3112+
3113+
to_be_resized = re.findall(r"^[^\.\s]?.+(?=\n)|(?<=\n)[^\.\s].+(?=\n)", notes)
31133114

31143115
for item in to_be_resized:
31153116
resized_item = resize_length(item, self._max_length)

0 commit comments

Comments
 (0)