diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-10 09:58:32 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-10 09:58:32 +0100 |
commit | b9f31621e4abaf57c32859b5dd54ec4406c035a8 (patch) | |
tree | 42dab629a68769ca7f250223a92a798c4e8e2a96 /ale_linters | |
parent | abcf2909e63840af81149761c6daf08e5caac01c (diff) | |
download | ale-b9f31621e4abaf57c32859b5dd54ec4406c035a8.zip |
Move --format=default in the flake8 command to the return value, and remove extra spaces in the tests
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/python/flake8.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim index e16090d4..8aa4c4df 100644 --- a/ale_linters/python/flake8.vim +++ b/ale_linters/python/flake8.vim @@ -80,10 +80,10 @@ function! ale_linters#python#flake8#GetCommand(buffer, version_output) abort \ : '' let l:options = ale#Var(a:buffer, 'python_flake8_options') - \ . ' --format=default' return ale#Escape(ale_linters#python#flake8#GetExecutable(a:buffer)) \ . (!empty(l:options) ? ' ' . l:options : '') + \ . ' --format=default' \ . l:display_name_args . ' -' endfunction |