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)
| 1467 | |
| 1468 | |
| 1469 | def _SetFilters(filters): |
| 1470 | """Sets the module's error-message filters. |
| 1471 | |
| 1472 | These filters are applied when deciding whether to emit a given |
| 1473 | error message. |
| 1474 | |
| 1475 | Args: |
| 1476 | filters: A string of comma-separated filters (eg "whitespace/indent"). |
| 1477 | Each filter should start with + or -; else we die. |
| 1478 | """ |
| 1479 | _cpplint_state.SetFilters(filters) |
| 1480 | |
| 1481 | def _AddFilters(filters): |
| 1482 | """Adds more filter overrides. |
no test coverage detected