summaryrefslogtreecommitdiff
path: root/test/linter/test_pyflakes.vader
diff options
context:
space:
mode:
authorDiego Henrique Oliveira <contato@diegoholiveira.com>2024-09-05 03:37:30 -0300
committerGitHub <noreply@github.com>2024-09-05 15:37:30 +0900
commita7ef1817b7aa06d0f80952ad530be87ad3c8f6e2 (patch)
tree537f36c4c8d5bdaeb10eb29ffc5bb8e18ef55065 /test/linter/test_pyflakes.vader
parent954682108d21b412561fb32e3fa766c7ee539984 (diff)
downloadale-a7ef1817b7aa06d0f80952ad530be87ad3c8f6e2.zip
Improve support for python package manage: pipenv, poetry and uv (#4825)
Diffstat (limited to 'test/linter/test_pyflakes.vader')
-rw-r--r--test/linter/test_pyflakes.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/linter/test_pyflakes.vader b/test/linter/test_pyflakes.vader
index 61aee562..09272620 100644
--- a/test/linter/test_pyflakes.vader
+++ b/test/linter/test_pyflakes.vader
@@ -58,3 +58,10 @@ Execute(Poetry is detected when python_pyflakes_auto_poetry is set):
AssertLinter 'poetry',
\ ale#Escape('poetry') . ' run pyflakes %t'
+
+Execute(uv is detected when python_pyflakes_auto_uv is set):
+ let g:ale_python_pyflakes_auto_uv = 1
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+
+ AssertLinter 'uv',
+ \ ale#Escape('uv') . ' run pyflakes %t'