Is it possible to change the python version used by syntastic for syntax checking?
As the Issue https://github.com/scrooloose/syntastic/issues/385 indicates I could use virtual-env. But is it also possible just with syntastic or vim commands?
Is it possible to change the python version used by syntastic for syntax checking?
As the Issue https://github.com/scrooloose/syntastic/issues/385 indicates I could use virtual-env. But is it also possible just with syntastic or vim commands?
Just to iterate on Zaar Hai's script a bit, something like this should work and be a bit more robust.
Only I did to fix this was to do:
To make sure flake8 is synced with Python3's syntax. Even when I'm in a virtualenv works.