summaryrefslogtreecommitdiff
path: root/test/linter/test_flakehell.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_flakehell.vader
parent954682108d21b412561fb32e3fa766c7ee539984 (diff)
downloadale-a7ef1817b7aa06d0f80952ad530be87ad3c8f6e2.zip
Improve support for python package manage: pipenv, poetry and uv (#4825)
Diffstat (limited to 'test/linter/test_flakehell.vader')
-rw-r--r--test/linter/test_flakehell.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/linter/test_flakehell.vader b/test/linter/test_flakehell.vader
index 98314408..8a159f0d 100644
--- a/test/linter/test_flakehell.vader
+++ b/test/linter/test_flakehell.vader
@@ -201,3 +201,10 @@ Execute(poetry is detected when python_flakehell_auto_poetry is set):
AssertLinterCwd ale#python#FindProjectRootIni(bufnr(''))
AssertLinter 'poetry',
\ ale#Escape('poetry') . ' run flakehell lint --format=default --stdin-display-name %s -'
+
+Execute(uv is detected when python_flakehell_auto_uv is set):
+ let g:ale_python_flakehell_auto_uv = 1
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+
+ AssertLinter 'uv',
+ \ ale#Escape('uv') . ' run flakehell lint --format=default --stdin-display-name %s -'