mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
clint: Do not report zero errors
This commit is contained in:
parent
c61858a997
commit
4fc2be490c
@ -571,7 +571,8 @@ class _CppLintState(object):
|
||||
for category, count in self.errors_by_category.items():
|
||||
sys.stderr.write('Category \'%s\' errors found: %d\n' %
|
||||
(category, count))
|
||||
sys.stderr.write('Total errors found: %d\n' % self.error_count)
|
||||
if self.error_count:
|
||||
sys.stderr.write('Total errors found: %d\n' % self.error_count)
|
||||
|
||||
def SuppressErrorsFrom(self, fname):
|
||||
"""Open file and read a list of suppressed errors from it"""
|
||||
|
Loading…
Reference in New Issue
Block a user