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

Function _AddFilters

support/cpplint.py:1018–1028  ·  view source on GitHub ↗

Adds more filter overrides. Unlike _SetFilters, this function does not reset the current list of filters available. 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

1016 _cpplint_state.SetFilters(filters)
1017
1018def _AddFilters(filters):
1019 """Adds more filter overrides.
1020
1021 Unlike _SetFilters, this function does not reset the current list of filters
1022 available.
1023
1024 Args:
1025 filters: A string of comma-separated filters (eg "whitespace/indent").
1026 Each filter should start with + or -; else we die.
1027 """
1028 _cpplint_state.AddFilters(filters)
1029
1030def _BackupFilters():
1031 """ Saves the current filter list to backup storage."""

Callers 1

ProcessConfigOverridesFunction · 0.85

Calls 1

AddFiltersMethod · 0.80

Tested by

no test coverage detected