summaryrefslogtreecommitdiff
path: root/ale_linters/python/pycodestyle.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/python/pycodestyle.vim')
-rw-r--r--ale_linters/python/pycodestyle.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/python/pycodestyle.vim b/ale_linters/python/pycodestyle.vim
index f0269585..fb521bc1 100644
--- a/ale_linters/python/pycodestyle.vim
+++ b/ale_linters/python/pycodestyle.vim
@@ -69,7 +69,7 @@ endfunction
call ale#linter#Define('python', {
\ 'name': 'pycodestyle',
-\ 'executable_callback': 'ale_linters#python#pycodestyle#GetExecutable',
-\ 'command_callback': 'ale_linters#python#pycodestyle#GetCommand',
+\ 'executable': function('ale_linters#python#pycodestyle#GetExecutable'),
+\ 'command': function('ale_linters#python#pycodestyle#GetCommand'),
\ 'callback': 'ale_linters#python#pycodestyle#Handle',
\})