diff options
author | Diego Henrique Oliveira <contato@diegoholiveira.com> | 2024-09-05 03:37:30 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 15:37:30 +0900 |
commit | a7ef1817b7aa06d0f80952ad530be87ad3c8f6e2 (patch) | |
tree | 537f36c4c8d5bdaeb10eb29ffc5bb8e18ef55065 /test/linter/test_pyright.vader | |
parent | 954682108d21b412561fb32e3fa766c7ee539984 (diff) | |
download | ale-a7ef1817b7aa06d0f80952ad530be87ad3c8f6e2.zip |
Improve support for python package manage: pipenv, poetry and uv (#4825)
Diffstat (limited to 'test/linter/test_pyright.vader')
-rw-r--r-- | test/linter/test_pyright.vader | 7 |
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' |