dspjm
dspjm

Reputation: 5860

Can pylint receive options other than enable and disable in python source?

Like options in: http://docs.pylint.org/features.html#id28

For example: the option of 'good-names'

We can't use #pylint good-names:var

Upvotes: 2

Views: 111

Answers (2)

Andrew Walker
Andrew Walker

Reputation: 42500

No but if you're happy to use flake8, lines that contain a # noqa comment at the end will not issue warnings

Upvotes: 0

sthenault
sthenault

Reputation: 15125

unfortunately, this doesn't work. IIRC, indeed only enable/disable work in python source code (for now).

Upvotes: 1

Related Questions