Sets the module's 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.
(filters)
| 879 | |
| 880 | |
| 881 | def _SetFilters(filters): |
| 882 | """Sets the module's error-message filters. |
| 883 | |
| 884 | These filters are applied when deciding whether to emit a given |
| 885 | error message. |
| 886 | |
| 887 | Args: |
| 888 | filters: A string of comma-separated filters (eg "whitespace/indent"). |
| 889 | Each filter should start with + or -; else we die. |
| 890 | """ |
| 891 | _cpplint_state.SetFilters(filters) |
| 892 | |
| 893 | def _AddFilters(filters): |
| 894 | """Adds more filter overrides. |
no test coverage detected