diff options
Diffstat (limited to 'test/linter/test_mypy.vader')
-rw-r--r-- | test/linter/test_mypy.vader | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/linter/test_mypy.vader b/test/linter/test_mypy.vader index bac59d92..3cad6c3e 100644 --- a/test/linter/test_mypy.vader +++ b/test/linter/test_mypy.vader @@ -104,3 +104,11 @@ Execute(Poetry is detected when python_mypy_auto_poetry is set): AssertLinterCwd expand('#' . bufnr('') . ':p:h') AssertLinter 'poetry', \ ale#Escape('poetry') . ' run mypy --show-column-numbers --shadow-file %s %t %s' + +Execute(uv is detected when python_mypy_auto_uv is set): + call ale#test#SetFilename('../test-files/python/uv/whatever.py') + let g:ale_python_mypy_auto_uv = 1 + + AssertLinterCwd expand('#' . bufnr('') . ':p:h') + AssertLinter 'uv', + \ ale#Escape('uv') . ' run mypy --show-column-numbers --shadow-file %s %t %s' |