summaryrefslogtreecommitdiff
path: root/test/linter/test_flakehell.vader
diff options
context:
space:
mode:
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 -'