|
|
|
@ -6,14 +6,14 @@ if !exists('s:compile_script')
@@ -6,14 +6,14 @@ if !exists('s:compile_script')
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
function! neomake#makers#ft#python#EnabledMakers() abort |
|
|
|
|
let makers = ['python', 'frosted'] |
|
|
|
|
let makers = ['pycodestyle', 'frosted'] |
|
|
|
|
if executable('pylama') |
|
|
|
|
call add(makers, 'pylama') |
|
|
|
|
else |
|
|
|
|
if executable('flake8') |
|
|
|
|
call add(makers, 'flake8') |
|
|
|
|
else |
|
|
|
|
call extend(makers, ['pyflakes', 'pycodestyle', 'pydocstyle']) |
|
|
|
|
call extend(makers, ['mypy', 'pyflakes', 'pydocstyle']) |
|
|
|
|
endif |
|
|
|
|
call add(makers, 'pylint') " Last because it is the slowest |
|
|
|
|
endif |
|
|
|
|