Question

I'm getting lots of errors I don't care about: mostly this kind:

fabfile.py|2 error| W0611 'os' imported but unused [pyflakes]

when I import something I'm going to use later but not yet

Is there a way (similar to a .jshintrc file when using jshint) file to Silence certain pyflakes errors warnings?

Thanks!

Was it helpful?

Solution

See :help 'g:pymode_lint_ignore in Vim. For your case, add the following to your vimrc.

let g:pymode_lint_ignore = "W0611"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top