Skip to content

Commit

Permalink
Fix ignored dirs parsing
Browse files Browse the repository at this point in the history
Parsing ignored dirs was doing a reverse regex check where comments
were added to the list of ignored dirs instead of skipped.
  • Loading branch information
utzig committed Mar 9, 2020
1 parent 49cd1ef commit 02733f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def load_ignored_dirs():
lines = f.readlines()
for line in lines:
line = line.strip()
if line != "" and regex.match(line) is not None:
if line != "" and regex.match(line) is None:
IGNORED_DIRS.append(line)


Expand Down

0 comments on commit 02733f2

Please sign in to comment.