mirror of
https://github.com/dense-analysis/ale
synced 2024-12-24 07:02:52 +00:00
12 lines
391 B
Plaintext
12 lines
391 B
Plaintext
|
Before:
|
||
|
call ale#test#SetDirectory('/testplugin/test')
|
||
|
|
||
|
After:
|
||
|
call ale#test#RestoreDirectory()
|
||
|
|
||
|
Execute(Detect root of Python project with .flake8 correctly):
|
||
|
call ale#test#SetFilename('python-test-files/python-package-project/package-name/module.py')
|
||
|
AssertEqual
|
||
|
\ ale#path#Simplify(g:dir . '/python-test-files/python-package-project'),
|
||
|
\ ale#python#FindProjectRoot(bufnr(''))
|