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

From Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Newsgroups linux.debian.maint.python
Subject Re: static analysis and other tools for checking Python code
Date 2016-03-05 15:10 +0100
Message-ID <r9l46-7ig-17@gated-at.bofh.it> (permalink)
References (4 earlier) <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>
Organization linux.* mail to news gateway

Show all headers | 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