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: "???"
18 lines
366 B
Text
18 lines
366 B
Text
Before:
|
|
runtime ale_linters/python/unimport.vim
|
|
|
|
After:
|
|
call ale#linter#Reset()
|
|
|
|
Execute(The unimport handler should handle import warnings):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 9,
|
|
\ 'type': 'W',
|
|
\ 'text': 'unused: urllib.parse',
|
|
\ },
|
|
\ ],
|
|
\ ale_linters#python#unimport#Handle(1, [
|
|
\ 'urllib.parse at path/to/file.py:9',
|
|
\ ])
|