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)
| 973 | |
| 974 | |
| 975 | def _SetFilters(filters): |
| 976 | """Sets the module's error-message filters. |
| 977 | |
| 978 | These filters are applied when deciding whether to emit a given |
| 979 | error message. |
| 980 | |
| 981 | Args: |
| 982 | filters: A string of comma-separated filters (eg "whitespace/indent"). |
| 983 | Each filter should start with + or -; else we die. |
| 984 | """ |
| 985 | _cpplint_state.SetFilters(filters) |
| 986 | |
| 987 | def _AddFilters(filters): |
| 988 | """Adds more filter overrides. |
no test coverage detected