#NEWLINE# def on_post_save( self , view ) : #NEWLINE# #INDENT# 'Called after view is saved.' #NEWLINE# if self . is_scratch ( view ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( view . window ( ) . project_file_name ( ) == view . file_name ( ) ) : #NEWLINE# #INDENT# self . lint_all_views ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# filename = os . path . basename ( view . file_name ( ) ) #NEWLINE# if ( filename == '.sublimelinterrc' ) : #NEWLINE# #INDENT# util . get_rc_settings . cache_clear ( ) #NEWLINE# self . lint_all_views ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( filename != 'SublimeLinter.sublime-settings' ) : #NEWLINE# #INDENT# self . file_was_saved ( view )