I am using this plugin to detect PEP-8 errors and warnings in Vim: http://www.vim.org/scripts/script.php?script_id=3430
I want to ignore few errors and warnings like E501 & W601 given in the backend pep8 tool: http://pypi.python.org/pypi/pep8
When I looked at the plugin code, I can see it has support for this:
from pep8checker import Pep8Checker
args = vim.eval('string(g:pep8_args)')
select = vim.eval('string(g:pep8_select)')
ignore = vim.eval('string(g:pep8_ignore)')
if select:
args = args + ' --select=%s' % select
if ignore:
args = args + ' --ignore=%s' % ignore
pep8_checker = Pep8Checker(cmd, args)
But how do I use it ?