Python support poetry (#3834)

* Add poetry support to python linters and black fixer.

* Update python.vim to detect poetry project.

* Update ale.vim, add an option for poetry `g:ale_python_auto_poetry`.

* Update ale-python.txt, add poetry support.

* Add and update poetry related tests.

Co-authored-by: unc0 <unc0@users.noreply.github.com>
This commit is contained in:
Daniel Roseman
2021-07-25 05:39:05 +01:00
committed by GitHub
parent 530b38de34
commit 7d8fb2ba17
32 changed files with 414 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ Execute(ale#python#PipenvPresent is true when a pipenv environment is present):
\ ale#python#PipenvPresent(bufnr('%')),
\ 1
Execute(ale#python#PipenvPresent is false true when no pipenv environment is present):
Execute(ale#python#PipenvPresent is false when no pipenv environment is present):
call ale#test#SetFilename('test-files/python/no_pipenv/whatever.py')
AssertEqual