Fix Pylint warnings.

This commit is contained in:
Sergey Vartanov 2021-11-07 05:18:48 +03:00
parent 890d554a84
commit d812058ecb
4 changed files with 17 additions and 16 deletions

View file

@ -166,7 +166,8 @@ class Matcher:
)
if is_matched == MatchingType.NOT_MATCHED:
return False, {}
elif matched_groups:
if matched_groups:
for index, element in enumerate(matched_groups):
groups[f"#{config_tag_key}{index}"] = element