mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-07 04:35:57 +08:00
Split up the flake8 and ansible-lint handlers
This commit is contained in:
1 parent
3442e58c8b
commit
f6b0a28cba
12 files changed
+240
-178
No files matched your search
@@ -11,18 +11,18 @@ After:
|
||||
Execute(The python GetExecutable callbacks should return the correct path):
|
||||
AssertEqual
|
||||
\ '',
|
||||
\ ale#handlers#python#GetExecutable(bufnr(''), 'isort')
|
||||
\ ale#python#GetExecutable(bufnr(''), 'isort')
|
||||
|
||||
silent execute 'file ' . fnameescape(g:dir . '/python_paths/with_virtualenv/subdir/foo/bar.py')
|
||||
AssertEqual
|
||||
\ g:dir . '/python_paths/with_virtualenv/env/bin/isort',
|
||||
\ ale#handlers#python#GetExecutable(bufnr(''), 'isort')
|
||||
\ ale#python#GetExecutable(bufnr(''), 'isort')
|
||||
AssertEqual
|
||||
\ g:dir . '/python_paths/with_virtualenv/env/bin/autopep8',
|
||||
\ ale#handlers#python#GetExecutable(bufnr(''), 'autopep8')
|
||||
\ ale#python#GetExecutable(bufnr(''), 'autopep8')
|
||||
AssertEqual
|
||||
\ g:dir . '/python_paths/with_virtualenv/env/bin/yapf',
|
||||
\ ale#handlers#python#GetExecutable(bufnr(''), 'yapf')
|
||||
\ ale#python#GetExecutable(bufnr(''), 'yapf')
|
||||
|
||||
|
||||
Execute(The autopep8 callbacks should return the correct default values):
|
||||
|
||||
Reference in new issue
Block a user