Skip to content

Commit

Permalink
Merge branch 'docs-parsers-docstrings' of github.com:jina-ai/jina int…
Browse files Browse the repository at this point in the history
…o docs-parsers-docstrings
  • Loading branch information
cristianmtr committed Feb 10, 2021
2 parents 31219cd + 0db784a commit da79811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jina/parsers/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def _indents(self, line) -> Tuple[int, int]:
"""Return line indent level and "sub_indent" for bullet list text.
:param line: the line to check
:return: indentation of line and indentation of sub-items"""
:return: indentation of line and indentation of sub-items
"""
import re
indent = len(re.match(r'( *)', line).group(1))
list_match = re.match(r'( *)(([*\-+>]+|\w+\)|\w+\.) +)', line)
Expand Down

0 comments on commit da79811

Please sign in to comment.