'Sets the error-message filters.
These filters are applied when deciding whether to emit a given
error message.
Args:
filters: A string of comma-separated filters (eg "+whitespace/indent").
Each filter should start with + or -; else we die.
Raises:
ValueError: The comma-separated filters did not all start with \'+\' or \'-\'.
E.g. "-,+whitespace,-whitespace/indent,whitespace/badfilter"'

def SetFilters(self, filters):

    self.filters = _DEFAULT_FILTERS[:]
    self.AddFilters(filters)
