dense-analysis / dense-analysis/ale

Python: Automatically set virtualenv paths

Open
#2,172 12 comments 8 reactions 1 assignee Claimed by @w0rp View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

When using `mypy` as linter, it needs to know where to look for packages. This breaks when using virtual environments.

Manually starting vim with:

MYPYPATH=/path/to/venv/lib/pythonX.Y/site-packages vim

will make it work. But this is tedious and I often forget it.

It would be nice if ALE was able to detect the path and automatically set it before running m`mypy`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.