Merge pull request #1237 from danpker/add-python-venv-folder

Add python venv folder
This commit is contained in:
w0rp 2017-12-18 09:54:32 +00:00 committed by GitHub
commit 30c5bb3772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ let g:ale_virtualenv_dir_names = get(g:, 'ale_virtualenv_dir_names', [
\ 've-py3',
\ 've',
\ 'virtualenv',
\ 'venv',
\])
function! ale#python#FindProjectRootIni(buffer) abort

View File

@ -1397,7 +1397,7 @@ g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names*
b:ale_virtualenv_dir_names *b:ale_virtualenv_dir_names*
Type: |List|
Default: `['.env', 'env', 've-py3', 've', 'virtualenv']`
Default: `['.env', 'env', 've-py3', 've', 'virtualenv', 'venv']`
A list of directory names to be used when searching upwards from Python
files to discover virtulenv directories with.