MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / _SetFilters

Function _SetFilters

src/tests/coding/cpplint.py:1454–1464  ·  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

1452
1453
1454def _SetFilters(filters):
1455 """Sets the module's error-message filters.
1456
1457 These filters are applied when deciding whether to emit a given
1458 error message.
1459
1460 Args:
1461 filters: A string of comma-separated filters (eg "whitespace/indent").
1462 Each filter should start with + or -; else we die.
1463 """
1464 _cpplint_state.SetFilters(filters)
1465
1466def _AddFilters(filters):
1467 """Adds more filter overrides.

Callers 1

ParseArgumentsFunction · 0.85

Calls 1

SetFiltersMethod · 0.80

Tested by

no test coverage detected