Use my fork of vint; fix some lint
This commit is contained in:
parent
82ec19fff9
commit
79a8ad40a4
3 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,6 @@
|
|||
flake8==3.8.3
|
||||
vim-vint==0.3.21
|
||||
flake8-comprehensions==3.2.3
|
||||
flake8-ycm>= 0.1.0
|
||||
|
||||
# Use fork of vint which is up to date
|
||||
git+https://github.com/puremourning/vint
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ function s:SetUpTerminal()
|
|||
let left_bar = 70
|
||||
let code = 80
|
||||
let padding = 4
|
||||
let cols = max( [ min([ &columns - left_bar - code - padding, 80 ] ), 10 ] )
|
||||
let cols = max( [ min( [ &columns - left_bar - code - padding, 80 ] ), 10 ] )
|
||||
call win_gotoid( terminal_win )
|
||||
execute cols . 'wincmd |'
|
||||
endfunction
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ func StopVimInTerminal(buf)
|
|||
" In Command-line it's inserted, the CTRL-U removes it again.
|
||||
call term_sendkeys(a:buf, "\<C-O>:\<C-U>qa!\<cr>")
|
||||
|
||||
call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
|
||||
call WaitForAssert({-> assert_equal('finished', term_getstatus(a:buf))})
|
||||
only!
|
||||
endfunc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue