Fix Vint version detection (#5138)
CI / Build (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Lua (push) Blocked by required conditions
CI / Neovim 0.10 Linux (push) Blocked by required conditions
CI / Neovim 0.12 Linux (push) Blocked by required conditions
CI / Vim 8.2 Linux (push) Blocked by required conditions
CI / Vim 9.2 Linux (push) Blocked by required conditions
CI / Neovim 0.10 Windows (push) Waiting to run
CI / Neovim 0.12 Windows (push) Waiting to run
CI / Vim 8.2 Windows (push) Waiting to run
CI / Vim 9.2 Windows (push) Waiting to run

* Ignore python warnings during 'vint --version' call

* Update Vint tests
This commit is contained in:
Torben
2026-06-21 04:15:14 +02:00
committed by GitHub
parent db92671e57
commit d0ea943232
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ call ale#linter#Define('vim', {
\ 'command': {buffer -> ale#semver#RunWithVersionCheck(
\ buffer,
\ ale#Var(buffer, 'vim_vint_executable'),
\ '%e --version',
\ 'PYTHONWARNINGS=ignore %e --version',
\ function('ale_linters#vim#vint#GetCommand'),
\ )},
\ 'callback': 'ale_linters#vim#vint#Handle',
+2 -2
View File
@@ -10,7 +10,7 @@ After:
Execute(The default command should be correct):
AssertLinter 'vint', [
\ ale#Escape('vint') .' --version',
\ 'PYTHONWARNINGS=ignore '. ale#Escape('vint') .' --version',
\ ale#Escape('vint') .' -s --no-color' . b:common_flags . ' %t',
\]
@@ -18,7 +18,7 @@ Execute(The executable should be configurable):
let g:ale_vim_vint_executable = 'foobar'
AssertLinter 'foobar', [
\ ale#Escape('foobar') .' --version',
\ 'PYTHONWARNINGS=ignore '. ale#Escape('foobar') .' --version',
\ ale#Escape('foobar') .' -s --no-color' . b:common_flags . ' %t',
\]