Split up the flake8 and ansible-lint handlers

This commit is contained in:
w0rp
2017-06-14 16:20:30 +01:00
parent 3442e58c8b
commit f6b0a28cba
12 changed files with 240 additions and 178 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
" Description: Fixing files with autopep8.
function! ale#fixers#autopep8#Fix(buffer) abort
let l:executable = ale#handlers#python#GetExecutable(a:buffer, 'autopep8')
let l:executable = ale#python#GetExecutable(a:buffer, 'autopep8')
if empty(l:executable)
return 0
endif
+1 -1
View File
@@ -2,7 +2,7 @@
" Description: Fixing Python imports with isort.
function! ale#fixers#isort#Fix(buffer) abort
let l:executable = ale#handlers#python#GetExecutable(a:buffer, 'isort')
let l:executable = ale#python#GetExecutable(a:buffer, 'isort')
if empty(l:executable)
return 0
endif
+1 -1
View File
@@ -2,7 +2,7 @@
" Description: Fixing Python files with yapf.
function! ale#fixers#yapf#Fix(buffer) abort
let l:executable = ale#handlers#python#GetExecutable(a:buffer, 'yapf')
let l:executable = ale#python#GetExecutable(a:buffer, 'yapf')
if empty(l:executable)
return 0
endif