Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a setting hook to setup MYPYPATH #581

Closed
sametmax opened this issue Nov 7, 2016 · 3 comments
Closed

Provide a setting hook to setup MYPYPATH #581

sametmax opened this issue Nov 7, 2016 · 3 comments

Comments

@sametmax
Copy link

sametmax commented Nov 7, 2016

Currently the only way to set MYPYPATH is to use an environment variable. Without MYPYPATH, you can't use mypy in any file doing an import outside of your current directory, because mypy won't be able to follow that import. Indeed, mypy does not follow the PYTHONPATH and requires that you set MYPYPATH manually.

@DamnWidget
Copy link
Owner

I will take a look into it as soon as I have some free time, time that currently I don't have so for now I suggest you to add it to your environment.

@DamnWidget
Copy link
Owner

This has been solved, pending for release

@codergator
Copy link

Would you happen to have a link to docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants