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
I managed to convince Syntastic to handle Python 3 syntax with
pip3 install --user flake8
(to make python3 -m flake8 *.py work) and then, in vim:
python3 -m flake8 *.py
let g:syntastic_python_flake8_exec = 'python3' let g:syntastic_python_flake8_args = ['-m', 'flake8']