I recently switched to Neovim and was trying to install the code checking plugin 'Neomake'. I followed the instructions for the setup in my vimrc. The plugin seems to run fine but the error list was not populated with errors even when I put in intentional errors.
A section of my vimrc:
let g:neomake_python_flake8_maker = {
\ 'exe': 'python3.4',
\ 'errorformat': '%A%f: line %l\, col %v\, %m \ (%t%*\d\)',
\ }
let g:neomake_python_enable_makers = ['flake8']
So how can I setup neomake properly with Python 2/3 support? Preferably using Flake8 as the checker.
pylint
.g:neomake_python_pylint_exe = 'pylint2'
in your settings. Replacing pylint2 to the name of your checker binary. Refer for more information: github.com/neomake/neomake/issues/340pylint
. It doesn't seem to work with virtualenvs, and it's too opinionated for in-editor coding. The linter should catch conformance issues while I'm working, not break my focus because something could be better. I would definitely usepylint
for reviewing code before large commits to spot potential issues quickly, but I wouldn't want it to be the automated authority on what's passable.