andviro / flake8-vim

Pyflakes, Pep8 and mccabe code complexity checker for Vim, bundled with latest libraries for easy installation
63 stars 18 forks source link

New option: g:PyFlakeForcePyVersion #21

Closed sgur closed 9 years ago

sgur commented 9 years ago

If Vim is compiled with both if_py and if_py3, the latest version of flake8-vim always use if_py interface. I add an option to specify python version in such a case.

To use if_py3 interface:

let g:PyFlakeForcePyVersion = 3
andviro commented 9 years ago

Ok, thanks for help!