chore: rename loop var to reflect list item type

This commit is contained in:
Robert Kaussow 2022-12-12 08:55:53 +01:00
parent b5bae4d6d9
commit 66715bd384
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -27,7 +27,7 @@ class CheckFilterSeparation(StandardBase):
item = re.sub(r"\(.+\)", "(dummy)", item)
matches.append((i, item))
for i, line in matches:
if filters.findall(line):
for i, item in matches:
if filters.findall(item):
errors.append(self.Error(i, self.helptext))
return self.Result(candidate.path, errors)