#NEWLINE# def process_tokens( self , tokens ) : #NEWLINE# #INDENT# module_start = True #NEWLINE# line_num = 1 #NEWLINE# for ( type_ , val , start , end , line ) in tokens : #NEWLINE# #INDENT# if ( type_ in ( token . NEWLINE , tokenize . NL ) ) : #NEWLINE# #INDENT# line_num += 1 #NEWLINE# #UNINDENT# if ( ( type_ > token . NEWLINE ) and ( type_ < token . N_TOKENS ) ) : #NEWLINE# #INDENT# module_start = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( type_ == token . STRING ) : #NEWLINE# #INDENT# line_num += val . count ( '\n' ) #NEWLINE# if ( ( not module_start ) and ( not val . startswith ( ( 'u' , 'b' ) ) ) ) : #NEWLINE# #INDENT# self . add_message ( 'native-string' , line = line_num ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( module_start and ( type_ == token . NAME ) ) : #NEWLINE# #INDENT# if ( len ( line ) >= 39 ) : #NEWLINE# #INDENT# if ( ( '__future__' in line ) and ( 'unicode_literals' in line ) ) : #NEWLINE# #INDENT# return