Skip to content

Commit bbb662c

Browse files
committed
use inline type annotations.
1 parent ac3cdf1 commit bbb662c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/python/vim-pyannotate.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let l:prefix = get(g:, 'project_virtual_env', '')
3232
call system(l:prefix . '/bin/python -B ' . l:annotate_dir . '/driver.py')
3333

3434
let l:pyannotate_binary = get(g:, 'pyannotate_use_env', v:false)? l:prefix . '/bin/pyannotate' : 'pyannotate'
35-
let l:output = system(l:pyannotate_binary . ' --type-info=' . l:info_file . ' -w ' . expand('%'))
35+
let l:output = system(l:pyannotate_binary . ' --py3 --type-info=' . l:info_file . ' -w ' . expand('%'))
3636
echo l:output
3737
exec ":edit"
3838
endfunction

0 commit comments

Comments
 (0)