alonisser
alonisser

Reputation: 12108

Settings preferences to pyflakes (with python-mode in vim)

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!

Upvotes: 1

Views: 2098

Answers (1)

mtadd
mtadd

Reputation: 2555

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

let g:pymode_lint_ignore = "W0611"

Upvotes: 2

Related Questions