Skip to content

Commit 2580db3

Browse files
authored
Include missing Pylint "information" category (#334)
1 parent db21bd5 commit 2580db3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: pylsp/plugins/pylint_lint.py

+3
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def lint(cls, document, is_saved, flags=''):
126126
# The type can be any of:
127127
#
128128
# * convention
129+
# * information
129130
# * error
130131
# * fatal
131132
# * refactor
@@ -151,6 +152,8 @@ def lint(cls, document, is_saved, flags=''):
151152

152153
if diag['type'] == 'convention':
153154
severity = lsp.DiagnosticSeverity.Information
155+
elif diag['type'] == 'information':
156+
severity = lsp.DiagnosticSeverity.Information
154157
elif diag['type'] == 'error':
155158
severity = lsp.DiagnosticSeverity.Error
156159
elif diag['type'] == 'fatal':

0 commit comments

Comments
 (0)