summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/python.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index cdc71cdd..bc1cc980 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -6,6 +6,7 @@ let s:sep = has('win32') ? '\' : '/'
let s:bin_dir = has('unix') ? 'bin' : 'Scripts'
let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [
\ '.env',
+\ '.venv',
\ 'env',
\ 've-py3',
\ 've',
@@ -23,6 +24,8 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/mypy.ini')
\|| filereadable(l:path . '/pycodestyle.cfg')
\|| filereadable(l:path . '/flake8.cfg')
+ \|| filereadable(l:path . '/Pipfile')
+ \|| filereadable(l:path . '/Pipfile.lock')
return l:path
endif
endfor