more fault tolerance
This commit is contained in:
@ -242,6 +242,7 @@ def get_examples_using_styles(regex, examples='examples'):
|
||||
for filename in Path(examples).rglob('in.*'):
|
||||
with open(filename) as f:
|
||||
for line in f:
|
||||
if line:
|
||||
matches = regex.match(line)
|
||||
if matches:
|
||||
inputs.append(filename)
|
||||
|
||||
Reference in New Issue
Block a user