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!

Était-ce utile?

La solution

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

let g:pymode_lint_ignore = "W0611"
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top