diff --git a/pylsp/plugins/pylint_lint.py b/pylsp/plugins/pylint_lint.py index 222cdb85..70a086cd 100644 --- a/pylsp/plugins/pylint_lint.py +++ b/pylsp/plugins/pylint_lint.py @@ -126,6 +126,7 @@ def lint(cls, document, is_saved, flags=''): # The type can be any of: # # * convention + # * information # * error # * fatal # * refactor @@ -151,6 +152,8 @@ def lint(cls, document, is_saved, flags=''): if diag['type'] == 'convention': severity = lsp.DiagnosticSeverity.Information + elif diag['type'] == 'information': + severity = lsp.DiagnosticSeverity.Information elif diag['type'] == 'error': severity = lsp.DiagnosticSeverity.Error elif diag['type'] == 'fatal':