MCPcopy Create free account
hub / github.com/apache/mesos / _SetFilters

Function _SetFilters

support/cpplint.py:1006–1016  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1004
1005
1006def _SetFilters(filters):
1007 """Sets the module's error-message filters.
1008
1009 These filters are applied when deciding whether to emit a given
1010 error message.
1011
1012 Args:
1013 filters: A string of comma-separated filters (eg "whitespace/indent").
1014 Each filter should start with + or -; else we die.
1015 """
1016 _cpplint_state.SetFilters(filters)
1017
1018def _AddFilters(filters):
1019 """Adds more filter overrides.

Callers 1

ParseArgumentsFunction · 0.85

Calls 1

SetFiltersMethod · 0.80

Tested by

no test coverage detected