Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108488

Re: Pylint prefers list comprehension over filter...

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Pylint prefers list comprehension over filter...
Date 2016-05-11 06:22 +1000
Message-ID <mailman.576.1462911768.32212.python-list@python.org> (permalink)
References (4 earlier) <mailman.489.1462671648.32212.python-list@python.org> <e309810a-d9a7-42b9-8e9f-14b8c03ab482@googlegroups.com> <5731f70f$0$1590$c3e8da3$5496439d@news.astraweb.com> <f1ca2718-6178-4fa7-9b67-ca697ae9ed43@googlegroups.com> <CAPTjJmrWZUpNauJUoforKUwm5qQ0G1_j-W_WikWZaFyzdTjczg@mail.gmail.com>

Show all headers | View raw


On Wed, May 11, 2016 at 1:35 AM,  <pcmanticore@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Pylint prefers list comprehension over filter... Terry Reedy <tjreedy@udel.edu> - 2016-05-07 21:40 -0400
  Re: Pylint prefers list comprehension over filter... Claudiu Popa <pcmanticore@gmail.com> - 2016-05-10 06:51 -0700
    Re: Pylint prefers list comprehension over filter... Steven D'Aprano <steve@pearwood.info> - 2016-05-11 00:58 +1000
      Re: Pylint prefers list comprehension over filter... pcmanticore@gmail.com - 2016-05-10 08:35 -0700
        Re: Pylint prefers list comprehension over filter... Terry Reedy <tjreedy@udel.edu> - 2016-05-10 15:47 -0400
        Re: Pylint prefers list comprehension over filter... Chris Angelico <rosuav@gmail.com> - 2016-05-11 06:22 +1000
    Re: Pylint prefers list comprehension over filter... Steven D'Aprano <steve@pearwood.info> - 2016-05-11 01:20 +1000
    Re: Pylint prefers list comprehension over filter... Terry Reedy <tjreedy@udel.edu> - 2016-05-10 15:34 -0400
      Re: Pylint prefers list comprehension over filter... DFS <nospam@dfs.com> - 2016-05-10 16:42 -0400

csiph-web