aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-09 08:15:18 +0800
committerGitHub <noreply@github.com>2022-03-09 08:15:18 +0800
commit205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d (patch)
treeb3db8da594fd829224607a11d21b43b3d329b76f /src/clint.py
parentf33cea4682340ea2b622fa879dd6fca2c80ea1d5 (diff)
parentff032f2710974dcf5930187f1925534da93db199 (diff)
downloadrneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.gz
rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.tar.bz2
rneovim-205b3765f2c04e3839b15a8d1ce79bd7ea8e4d3d.zip
Merge pull request #17622 from dundargoc/refactor/clang-tidy/remove-redundant-casts
refactor/clang tidy/remove redundant casts
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/clint.py b/src/clint.py
index 4b7bf002e6..37b44920af 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -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):