summaryrefslogtreecommitdiff
path: root/test/linter/test_pycln.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_pycln.vader')
-rw-r--r--test/linter/test_pycln.vader8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/linter/test_pycln.vader b/test/linter/test_pycln.vader
index eb04f3d5..3d48ee7b 100644
--- a/test/linter/test_pycln.vader
+++ b/test/linter/test_pycln.vader
@@ -97,6 +97,14 @@ Execute(poetry is detected when python_pycln_auto_poetry is set):
AssertLinter 'poetry', ale#Escape('poetry') . ' run pycln'
\ . b:cmd_tail
+Execute(uv is detected when python_pycln_auto_uv is set):
+ let g:ale_python_pycln_auto_uv = 1
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+
+ AssertLinterCwd expand('%:p:h')
+ AssertLinter 'uv', ale#Escape('uv') . ' run pycln'
+ \ . b:cmd_tail
+
Execute(configuration files set in _config should be supported):
let g:ale_python_pycln_config_file = ale#path#Simplify(g:dir . '/../test-files/pycln/other_config.xml')