2018-06-04 22:43:02 -04:00
|
|
|
Before:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#SetUpLinterTest('python', 'prospector')
|
2018-06-04 22:43:02 -04:00
|
|
|
|
|
|
|
After:
|
2018-07-15 13:24:53 -04:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-06-04 22:43:02 -04:00
|
|
|
|
|
|
|
Execute(Setting executable to 'pipenv' appends 'run prospector'):
|
|
|
|
let g:ale_python_prospector_executable = 'path/to/pipenv'
|
|
|
|
|
2018-07-15 13:24:53 -04:00
|
|
|
AssertLinter 'path/to/pipenv',
|
2018-06-04 22:43:02 -04:00
|
|
|
\ ale#Escape('path/to/pipenv') . ' run prospector'
|
2018-07-15 13:24:53 -04:00
|
|
|
\ . ' --messages-only --absolute-paths --zero-exit --output-format json %s'
|