e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
24 lines
493 B
Text
24 lines
493 B
Text
Before:
|
|
runtime ale_linters/python/pyflakes.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The pyflakes handler should handle basic errors):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 1,
|
|
\ 'col': 0,
|
|
\ 'text': 'undefined name ''foo''',
|
|
\ },
|
|
\ {
|
|
\ 'lnum': 1,
|
|
\ 'col': 7,
|
|
\ 'text': 'invalid syntax',
|
|
\ },
|
|
\ ],
|
|
\ ale_linters#python#pyflakes#Handle(bufnr(''), [
|
|
\ 'test.py:1: undefined name ''foo''',
|
|
\ 'test.py:1:7: invalid syntax',
|
|
\ ])
|