Pylint prefers list comprehension over filter...

Chris Angelico rosuav at gmail.com
Tue May 10 16:22:46 EDT 2016


On Wed, May 11, 2016 at 1:35 AM,  <pcmanticore at gmail.com> wrote:
> Basically, pylint overwhelms the user
> right now with its enabled checks and we're trying to split these
> into tiers, as seen in the following:
>
>     $ pylint myproject
>     # core checkers enabled
>     10/10 - Congrats, you're clean on a core. You might try with "--pedantic" now.
>
>     $ pylint myproject --pedantic
>     # pedantic checkers enabled.
>     10/10 - Congrats, you're clean on pedantic. You might try with --refactoring now
>
>     $ pylint myproject --refactoring
>     # refactoring checkers enabled
>     10/10 - Congrats, you're clean on refactoring. Last up, try with --style now.
>
>     $ pylint myproject --style
>     10/10 - Now you're pylint clean.
>
>     Or running them all:
>
>     $ pylint myproject --all

Definitely support this notion. Not sure the "on a core" part makes
sense, but that's a minor triviality.

ChrisA



More information about the Python-list mailing list