Searched refs:category (Results 1 – 1 of 1) sorted by relevance
376 category = matched.group(1)377 if category in (None, '(*)'): # => "suppress all"380 if category.startswith('(') and category.endswith(')'):381 category = category[1:-1]382 if category in _ERROR_CATEGORIES:383 _error_suppressions.setdefault(category, set()).add(linenum)386 'Unknown NOLINT error category: %s' % category)394 def IsErrorSuppressedByNolint(category, linenum): argument406 return (linenum in _error_suppressions.get(category, set()) or611 def IncrementErrorCount(self, category): argument[all …]