From b31b9c22a18a510f261a3dbc0bf3d92558253b69 Mon Sep 17 00:00:00 2001 From: Julian Gilbey Date: Sun, 8 Jan 2023 07:46:33 +0000 Subject: [PATCH] Include missing pylint "information" category --- pylsp/plugins/pylint_lint.py | 3 +++ 1 file changed, 3 insertions(+) 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':