summaryrefslogtreecommitdiff
path: root/test/linter/test_pyright.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_pyright.vader')
-rw-r--r--test/linter/test_pyright.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/linter/test_pyright.vader b/test/linter/test_pyright.vader
index 45e9765e..91a715e2 100644
--- a/test/linter/test_pyright.vader
+++ b/test/linter/test_pyright.vader
@@ -179,3 +179,10 @@ Execute(poetry is detected when python_pyright_auto_poetry is set):
AssertLinterCwd ale#python#FindProjectRootIni(bufnr(''))
AssertLinter 'poetry',
\ ale#Escape('poetry') . ' run pyright-langserver --stdio'
+
+Execute(uv is detected when python_pyright_auto_uv is set):
+ let g:ale_python_pyright_auto_uv = 1
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+
+ AssertLinter 'uv',
+ \ ale#Escape('uv') . ' run pyright-langserver --stdio'