<s> """<STR_LIT>""" <EOL> __author__ = '<STR_LIT>' <EOL> import StringIO <EOL> import sys <EOL> import gflags as flags <EOL> from closure_linter import error_fixer <EOL> from closure_linter import runner <EOL> from closure_linter . common import simplefileflags as fileflags <EOL> FLAGS = flags . FLAGS <EOL> flags . DEFINE_list ( '<STR_LIT>' , None , '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> flags . DEFINE_boolean ( '<STR_LIT>' , False , '<STR_LIT>' ) <EOL> def main ( argv = None ) : <EOL> """<STR_LIT>""" <EOL> if argv is None : <EOL> argv = flags . FLAGS ( sys . argv ) <EOL> suffixes = [ '<STR_LIT>' ] <EOL> if FLAGS . additional_extensions : <EOL> suffixes += [ '<STR_LIT>' % ext for ext in FLAGS . additional_extensions ] <EOL> files = fileflags . GetFileList ( argv , '<STR_LIT>' , suffixes ) <EOL> output_buffer = None <EOL> if FLAGS . dry_run : <EOL> output_buffer = StringIO . StringIO ( ) <EOL> fixer = error_fixer . ErrorFixer ( output_buffer ) <EOL> for filename in files : <EOL> runner . Run ( filename , fixer ) <EOL> if FLAGS . dry_run : <EOL> print output_buffer . getvalue ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
