def nova_except_format(logical_line):
 if logical_line.startswith('except:'):
  (yield (6, "N201: no 'except:' at least use 'except Exception:'"))

def nova_except_format ( logical_line ) : if logical_line . startswith ( 'except:' ) : ( yield ( 6 , "N201: no 'except:' at least use 'except Exception:'" ) )
check for except: .