added filename to stdin stream of isort (#3815)

modified tests to run with new format

Co-authored-by: Jeff Willette <jeff@Jeffs-MacBook-Pro.local>
This commit is contained in:
Jeff Willette
2021-07-14 04:58:25 -07:00
committed by GitHub
parent 82a7e9f588
commit d8f4e8b708
2 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ function! ale#fixers#isort#Fix(buffer) abort
return {
\ 'cwd': '%s:h',
\ 'command': ale#Escape(l:executable) . l:exec_args
\ . ale#Pad('--filename %s')
\ . (!empty(l:options) ? ' ' . l:options : '') . ' -',
\}
endfunction