summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChronial <git@chron.visiondesigns.de>2016-12-30 17:06:49 +0100
committerGitHub <noreply@github.com>2016-12-30 17:06:49 +0100
commite0928d099116e27f0203b0a365506bfecbe1a6e3 (patch)
treedb2959ec7afd5e129860add94d7ae66dc5627283
parent3e1486fc927d6641ea8d21cc31c5870cb7c75ce7 (diff)
downloadale-e0928d099116e27f0203b0a365506bfecbe1a6e3.zip
Pass file name to flake8
-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 5b011548..cf9de6d3 100644
--- a/ale_linters/python/flake8.vim
+++ b/ale_linters/python/flake8.vim
@@ -13,7 +13,7 @@ endfunction
function! ale_linters#python#flake8#GetCommand(buffer) abort
return ale_linters#python#flake8#GetExecutable(a:buffer)
- \ . ' ' . g:ale_python_flake8_args . ' -'
+ \ . ' ' . g:ale_python_flake8_args . '--stdin-display-name %s -'
endfunction
call ale#linter#Define('python', {