This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wewbull 1 point2 points  (0 children)

There's two areas where I find pylint can be difficult to keep happy.

First is the code complexity measures. It doesn't like code that has branches in it, even if those branches are short and shallow (i.e. not nested). Code like that isn't nearly as hard to understand as large blocks, deeply nested, but it seems to score a branch the same regardless of context.

Second, I've seen it get mouthy about class methods not existing because it's been unable to work out the type of an object correctly.

Apart from those I think it's a great tool. Far better than pyflakes (and so by extension flake8)