Tan Wang
Tan Wang

Reputation: 841

How to ignore errors that Pylint picks up from method stubs?

I'm coding in Vim, using Syntastic and Pylint. Sometimes I like to put in method stubs like so:

def foo(bar, baz):
    pass

I know that I am going to use bar and baz and I'd rather Pylint not tell me that I ignored some parameters if I ignored them intentionally with a pass statement. Is there anyway to silence this error specifically in this case only? I still want it to warn me about unused variables on functions I've implemented in full.

Upvotes: 3

Views: 435

Answers (0)

Related Questions