Pylint prefers list comprehension over filter...

Steven D'Aprano steve at pearwood.info
Tue May 10 11:20:03 EDT 2016


A further comment:

On Tue, 10 May 2016 11:51 pm, Claudiu Popa wrote:

> Thank you for letting us know. While pylint is indeed
> opinionated in some cases, we're not trying to be
> "arrogant", 

And from the docs:

"What Pylint says is not to be taken as gospel and Pylint isn’t smarter than
you are: it may warn you about things that you have conscientiously done."

https://docs.pylint.org/intro.html#what-pylint-is-not

which has some nice advice for how to deal with pylint so the warnings are
not overwhelming.

I think it is time for me to check it out...


-- 
Steven




More information about the Python-list mailing list