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


Groups > linux.debian.maint.python > #8276

Re: static analysis and other tools for checking Python code

Path csiph.com!feeder.erje.net!2.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Newsgroups linux.debian.maint.python
Subject Re: static analysis and other tools for checking Python code
Date Sat, 05 Mar 2016 15:10:02 +0100
Message-ID <r9l46-7ig-17@gated-at.bofh.it> (permalink)
References <r85E5-1TO-1@gated-at.bofh.it> <r8fN7-l3-3@gated-at.bofh.it> <r8p06-7eU-13@gated-at.bofh.it> <r8A5e-6Bm-45@gated-at.bofh.it> <r8Q9X-1D7-3@gated-at.bofh.it> <r8UdA-4zt-21@gated-at.bofh.it> <r8Y7w-7tk-5@gated-at.bofh.it> <r8ZGi-7O-3@gated-at.bofh.it> <r9aV3-8th-1@gated-at.bofh.it>
X-Original-To Paul Wise <pabs@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Mar 5 14:04:06 2016
Old-Return-Path <nicolas.chauvat@logilab.fr>
X-Amavis-Spam-Status No, score=-7.101 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=logilab.fr; s=mail; t=1457186603; bh=hK7gLAQc2QrGMroWBaV6/dEbTsblE+5KQpg4sxBRM18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BUXy6fq8KnbKZGCKZUGb90KJaRvfDhvh1rddpXC1uC2vgOHh5Er56n/tpP0AdOpgg CeKw9NagA/aakCVExsdpuRkfWakrxVF7xoum+I2K9PmngCPq/sQ4OXrDgaitsmCN4r lPCJyFHP4tgTNLd/odSC1/y17r5gowY3JGLCr7gU=
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13603
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160305140321.GA27864@volans.logilab.fr
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Sat, 5 Mar 2016 15:03:21 +0100
X-Original-Message-ID <20160305140321.GA27864@volans.logilab.fr>
X-Original-References <CAKTje6Hjp+RA666ey=mi7mwsTnxOor2LS85pSU7krziM0Z6=Yw@mail.gmail.com> <20160302132331.GB20628@volans.logilab.fr> <CAKTje6FQ1STcN3JDVtDvQ_o6cJ=tsr+dqWQN+G0g5HvTXQSjFg@mail.gmail.com> <20160303115203.GA3089@volans.logilab.fr> <1457067797.3193.13.camel@debian.org> <20160304092443.GB15296@volans.logilab.fr> <CAKTje6Ffj7we6nCzzRDYEetyLTLJ57aPE0BKENsPMqU4cayFjg@mail.gmail.com> <20160304151149.GA9832@volans.logilab.fr> <CAKTje6Faa0u_vjOEiQuZqJzeiY2+MuPOduhv0mtEhPFc7Q816Q@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:8276

Show key headers only | View raw


On Sat, Mar 05, 2016 at 11:16:28AM +0800, Paul Wise wrote:
> On Fri, Mar 4, 2016 at 11:11 PM, Nicolas Chauvat wrote:
> 
> > It does recursively scan for Python files:
> 
> That doesn't pick up Python scripts that don't have .py in their name.

I had not noticed that.

> I couldn't get it to work with files in the current directory:
> 
> $ touch __init__.py
> $ echo 'a = b+1' > bar.py
> $ pylint -E .
> No config file found, using default configuration

Would "pylint -E *.py" do what you want?

Or maybe use find with 'file' as a filter?

> Should I file bugs about these two issues?

You may. I am not part of the maintainers/contributors anymore,
so I will not be able to help solve these issues.

https://github.com/PyCQA/pylint/

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-02 04:30 +0100
  Re: static analysis and other tools for checking Python code Scott Kitterman <debian@kitterman.com> - 2016-03-02 05:40 +0100
    Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-02 06:00 +0100
  Re: static analysis and other tools for checking Python code Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2016-03-02 15:20 +0100
    Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-03 01:10 +0100
      Re: static analysis and other tools for checking Python code "Paul R. Tagliamonte" <paultag@gmail.com> - 2016-03-03 01:30 +0100
      Re: static analysis and other tools for checking Python code Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2016-03-03 13:00 +0100
        Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-04 06:10 +0100
          Re: static analysis and other tools for checking Python code Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2016-03-04 10:30 +0100
            Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-04 14:40 +0100
              Re: static analysis and other tools for checking Python code Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2016-03-04 16:20 +0100
                Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-05 04:20 +0100
                Re: static analysis and other tools for checking Python code Nicolas Chauvat <nicolas.chauvat@logilab.fr> - 2016-03-05 15:10 +0100
                Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-06 10:20 +0100
  Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-03 01:40 +0100
    Re: static analysis and other tools for checking Python code Jeremy Stanley <fungi@yuggoth.org> - 2016-03-03 01:50 +0100
    Re: static analysis and other tools for checking Python code Daniel Stender <stender@debian.org> - 2016-03-04 15:40 +0100
      Re: static analysis and other tools for checking Python code Paul Wise <pabs@debian.org> - 2016-03-05 04:10 +0100
  Re: static analysis and other tools for checking Python code Jeremy Stanley <fungi@yuggoth.org> - 2016-03-03 01:40 +0100

csiph-web