code: def apply_global_fixes(source, options, where='global', filename=''):
      
      if any(code_match(code, select=options.select, ignore=options.ignore)
             for code in ['E101', 'E111']):
          source = reindent(source,
                            indent_size=options.indent_size)
  
      for (code, function) in global_fixes():
          if code_match(code, select=options.select, ignore=options.ignore):
              if options.verbose:
                  print('--->  Applying {0} fix for {1}'.format(where,
                                                                code.upper()),
                        file=sys.stderr)
              source = function(source,
                                aggressive=options.aggressive)
  
      source = fix_2to3(source,
                        aggressive=options.aggressive,
                        select=options.select,
                        ignore=options.ignore,
                        filename=filename)
  
      return source
docs: Run global fixes on source code.
  
      These are fixes that only need be done once (unlike those in
      FixPEP8, which are dependent on pycodestyle).