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