All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 call ale#assert#SetUpFixerTest('python', 'pyflyby')
4 let b:bin_dir = has('win32') ? 'Scripts' : 'bin'
7 call ale#assert#TearDownFixerTest()
11 Execute(The pyflyby callback should return the correct default values):
12 call ale#test#SetFilename('../test-files/python/with_virtualenv/subdir/foo/bar.py')
16 \ 'command': ale#Escape(ale#path#Simplify(g:dir . '/../test-files/python/with_virtualenv/env/' . b:bin_dir . '/tidy-imports')),
19 Execute(Pipenv is detected when python_pyflyby_auto_pipenv is set):
20 let g:ale_python_pyflyby_auto_pipenv = 1
22 call ale#test#SetFilename('../test-files/python/pipenv/whatever.py')
26 \ 'command': ale#Escape('pipenv') . ' run tidy-imports'
29 Execute(Poetry is detected when python_pyflyby_auto_poetry is set):
30 let g:ale_python_pyflyby_auto_poetry = 1
32 call ale#test#SetFilename('../test-files/python/poetry/whatever.py')
34 GivenCommandOutput ['VERSION 5.7.0']
37 \ 'command': ale#Escape('poetry') . ' run tidy-imports'
40 Execute(uv is detected when python_pyflyby_auto_uv is set):
41 let g:ale_python_pyflyby_auto_uv = 1
43 call ale#test#SetFilename('../test-files/python/uv/whatever.py')
45 GivenCommandOutput ['VERSION 5.7.0']
48 \ 'command': ale#Escape('uv') . ' run tidy-imports'