mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci(clint): remove "Unknown NOLINT error category" warning
Clang-tidy also uses "NOLINT" to suppress warnings which causes a conflict.
This commit is contained in:
parent
8e7446b3cb
commit
918ab6bf00
@ -191,7 +191,6 @@ _ERROR_CATEGORIES = [
|
||||
'readability/fn_size',
|
||||
'readability/multiline_comment',
|
||||
'readability/multiline_string',
|
||||
'readability/nolint',
|
||||
'readability/nul',
|
||||
'readability/todo',
|
||||
'readability/utf8',
|
||||
@ -298,9 +297,6 @@ def ParseNolintSuppressions(filename, raw_line, linenum, error):
|
||||
if category in _ERROR_CATEGORIES:
|
||||
_error_suppressions.setdefault(
|
||||
category, set()).add(linenum)
|
||||
else:
|
||||
error(filename, linenum, 'readability/nolint', 5,
|
||||
'Unknown NOLINT error category: %s' % category)
|
||||
|
||||
|
||||
def ParseKnownErrorSuppressions(filename, raw_lines, linenum):
|
||||
|
Loading…
Reference in New Issue
Block a user