mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Fix mypy error parsing when column numbers are included.
This commit is contained in:
@@ -12,10 +12,20 @@ Execute(The mypy handler should parse lines correctly):
|
||||
\ 'type': 'E',
|
||||
\ 'nr': -1,
|
||||
\ },
|
||||
\ {
|
||||
\ 'bufnr': 347,
|
||||
\ 'lnum': 40,
|
||||
\ 'vcol': 0,
|
||||
\ 'col': 5,
|
||||
\ 'text': "Some other problem",
|
||||
\ 'type': 'E',
|
||||
\ 'nr': -1,
|
||||
\ },
|
||||
\ ],
|
||||
\ ale_linters#python#mypy#Handle(347, [
|
||||
\ "file.py:4: error: No library stub file for module 'django.db'",
|
||||
\ 'file.py:4: note: (Stub files are from https://github.com/python/typeshed)',
|
||||
\ "file.py:40:5: error: Some other problem",
|
||||
\ ])
|
||||
|
||||
After:
|
||||
|
||||
Reference in New Issue
Block a user