Re: static analysis and other tools for checking Python code
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
Reply to: