mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
update type annotations
This commit is contained in:
@ -89,10 +89,11 @@ def _process(proc_data: List[JSONDictType]) -> List[JSONDictType]:
|
|||||||
return proc_data
|
return proc_data
|
||||||
|
|
||||||
|
|
||||||
def _replace(matchobj):
|
def _replace(matchobj: re.Match) -> str:
|
||||||
if matchobj:
|
if matchobj:
|
||||||
matchlen = len(matchobj.group(1))
|
matchlen = len(matchobj.group(1))
|
||||||
return ' ' * matchlen + '/'
|
return ' ' * matchlen + '/'
|
||||||
|
return ''
|
||||||
|
|
||||||
|
|
||||||
def parse(
|
def parse(
|
||||||
|
Reference in New Issue
Block a user