Skip to content

Commit 1f0f9ef

Browse files
authored
fix option pymarkdown linter (#5060)
1 parent e56b55b commit 1f0f9ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/linter/test_pymarkdown.vader

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ Execute(Poetry is detected when markdown_pymarkdown_auto_poetry is set):
4545
AssertLinter 'poetry',
4646
\ ale#Escape('poetry') . ' run pymarkdown scan-stdin'
4747

48+
Execute(Setting executable to 'uv' appends 'run pymarkdown'):
49+
let g:ale_markdown_pymarkdown_executable = 'path/to/uv'
50+
51+
AssertLinter 'path/to/uv',
52+
\ ale#Escape('path/to/uv') . ' run pymarkdown scan-stdin'
53+
4854
Execute(uv is detected when markdown_pymarkdown_auto_uv is set):
4955
let g:ale_markdown_pymarkdown_auto_uv = 1
5056
call ale#test#SetFilename('../test-files/python/uv/whatever.py')

0 commit comments

Comments
 (0)