문제

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!

도움이 되었습니까?

해결책

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

let g:pymode_lint_ignore = "W0611"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top