From 7d8fb2ba1716a744446b811fc278ecf30d4eb771 Mon Sep 17 00:00:00 2001 From: Daniel Roseman Date: Sun, 25 Jul 2021 05:39:05 +0100 Subject: 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 --- plugin/ale.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin') diff --git a/plugin/ale.vim b/plugin/ale.vim index 7c79f261..0268bc99 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -172,6 +172,9 @@ let g:ale_completion_enabled = get(g:, 'ale_completion_enabled', 0) " Enable automatic detection of pipenv for Python linters. let g:ale_python_auto_pipenv = get(g:, 'ale_python_auto_pipenv', 0) +" Enable automatic detection of poetry for Python linters. +let g:ale_python_auto_poetry = get(g:, 'ale_python_auto_poetry', 0) + " This variable can be overridden to set the GO111MODULE environment variable. let g:ale_go_go111module = get(g:, 'ale_go_go111module', '') -- cgit v1.2.3