@checker('.rst', severity=0)
def check_line_length(fn, lines):
 for (lno, line) in enumerate(lines):
  if (len(line) > 81):
   if ((line.lstrip()[0] not in '+|') and ('http://' not in line) and (not line.lstrip().startswith(('.. function', '.. method', '.. cfunction')))):
    (yield ((lno + 1), 'line too long'))

@ checker ( '.rst' , severity = 0 ) def check_line_length ( fn , lines ) : for ( lno , line ) in enumerate ( lines ) : if ( len ( line ) > 81 ) : if ( ( line . lstrip ( ) [ 0 ] not in '+|' ) and ( 'http://' not in line ) and ( not line . lstrip ( ) . startswith ( ( '.. function' , '.. method' , '.. cfunction' ) ) ) ) : ( yield ( ( lno + 1 ) , 'line too long' ) )
check for line length; this checker is not run by default .