def no_vi_headers(physical_line, line_number, lines):
 if ((line_number <= 5) or (line_number > (len(lines) - 5))):
  if vi_header_re.match(physical_line):
   return (0, "N314: Don't put vi configuration in source files")

def no_vi_headers ( physical_line , line_number , lines ) : if ( ( line_number <= 5 ) or ( line_number > ( len ( lines ) - 5 ) ) ) : if vi_header_re . match ( physical_line ) : return ( 0 , "N314: Don't put vi configuration in source files" )
check for vi editor configuration in source files .