summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-10 09:58:32 +0100
committerw0rp <devw0rp@gmail.com>2017-08-10 09:58:32 +0100
commitb9f31621e4abaf57c32859b5dd54ec4406c035a8 (patch)
tree42dab629a68769ca7f250223a92a798c4e8e2a96 /ale_linters
parentabcf2909e63840af81149761c6daf08e5caac01c (diff)
downloadale-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.vim2
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