def check_with_pep8(source_code, filename=None):
 try:
  args = get_checker_executable('pep8')
  results = check(args, source_code, filename=filename, options=['-r'])
 except Exception:
  results = []
  if DEBUG_EDITOR:
   traceback.print_exc()
 return results

def check_with_pep8 ( source_code , filename = None ) : try : args = get_checker_executable ( 'pep8' ) results = check ( args , source_code , filename = filename , options = [ '-r' ] ) except Exception : results = [ ] if DEBUG_EDITOR : traceback . print_exc ( ) return results
check source code with pep8 .