Skip to content

Commit

Permalink
add error severity to pyflakes (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesthomp authored and gatesn committed Oct 23, 2017
1 parent ca237ce commit badd92b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyls/plugins/pyflakes_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def syntaxError(self, filename, msg, lineno, offset, text):
self.diagnostics.append({
'source': 'pyflakes',
'range': range,
'message': msg
'message': msg,
'severity': lsp.DiagnosticSeverity.Error,
})

def flake(self, message):
Expand Down

0 comments on commit badd92b

Please sign in to comment.