@flake8ext
def check_python3_no_filter(logical_line):
 msg = 'N343: Use list comprehension instead of filter(lambda obj: test(obj), data) on python3.'
 if filter_match.match(logical_line):
  (yield (0, msg))

@ flake8ext def check_python3_no_filter ( logical_line ) : msg = 'N343: Use list comprehension instead of filter(lambda obj: test(obj), data) on python3.' if filter_match . match ( logical_line ) : ( yield ( 0 , msg ) )
n344 - use list comprehension instead of filter .