def nova_todo_format(physical_line, tokens):
 pos = physical_line.find('TODO')
 pos1 = physical_line.find('TODO(')
 pos2 = physical_line.find('#')
 if ((pos != pos1) and (pos2 >= 0) and (pos2 < pos) and (len(tokens) == 0)):
  return (pos, 'N101: Use TODO(NAME)')

def nova_todo_format ( physical_line , tokens ) : pos = physical_line . find ( 'TODO' ) pos1 = physical_line . find ( 'TODO(' ) pos2 = physical_line . find ( '#' ) if ( ( pos != pos1 ) and ( pos2 >= 0 ) and ( pos2 < pos ) and ( len ( tokens ) == 0 ) ) : return ( pos , 'N101: Use TODO(NAME)' )
check for todo() .