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)
| 1641 | |
| 1642 | |
| 1643 | def _SetFilters(filters): |
| 1644 | """Sets the module's error-message filters. |
| 1645 | |
| 1646 | These filters are applied when deciding whether to emit a given |
| 1647 | error message. |
| 1648 | |
| 1649 | Args: |
| 1650 | filters: A string of comma-separated filters (eg "whitespace/indent"). |
| 1651 | Each filter should start with + or -; else we die. |
| 1652 | """ |
| 1653 | _cpplint_state.SetFilters(filters) |
| 1654 | |
| 1655 | |
| 1656 | def _AddFilters(filters): |
no test coverage detected
searching dependent graphs…