Re: static analysis and other tools for checking Python code

2016-03-02 Thread Jeremy Stanley
On 2016-03-03 08:38:40 +0800 (+0800), Paul Wise wrote: [...] > FYI pep257 is definitely packaged: > > https://packages.debian.org/search?keywords=pep257 [...] Whoops! Thanks--I almost certainly fat-fingered my package search on that one. -- Jeremy Stanley

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Paul Wise
On Thu, Mar 3, 2016 at 7:52 AM, Jeremy Stanley wrote: > ... All of flake8, hacking, bandit, pep257, clonedigger and more are on the TODO list: https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/data/python FYI pep257 is definitely packaged: https://packages.debian.org/s

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Jeremy Stanley
On 2016-03-02 11:22:52 +0800 (+0800), Paul Wise wrote: [...] > One of the things it has checks for is Python. So far it runs pyflakes > and pep8 and a few hacky greps for some things that shouldn't be done > in Python in my experience. [...] The "flake8" framework basically incorporates the pyflak

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Paul R. Tagliamonte
flake8 has the most mindshare these days :) On Mar 2, 2016 7:07 PM, "Paul Wise" wrote: > On Wed, Mar 2, 2016 at 9:23 PM, Nicolas Chauvat wrote: > > > Maybe add pylint? > > As I understand it: > > pylint runs code from the source tree so it isn't suitable for running > by default as that could be

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Paul Wise
On Wed, Mar 2, 2016 at 9:23 PM, Nicolas Chauvat wrote: > Maybe add pylint? As I understand it: pylint runs code from the source tree so it isn't suitable for running by default as that could be a security issue for people reviewing potentially untrusted code. pylint isn't able to be run automat

Re: Using 'pyvenv' or 'python3 -m venv' on unstable

2016-03-02 Thread Florent Rougon
Barry Warsaw wrote: > Since the fix for this is in python3.5, I've already provided a patch to > Matthias. I wanted to get his feedback about one particular point of the > patch, but in the meantime I will attach the patch to that bug and reassign > it. Ah, glad to see a fix is on its way. Than

Re: Using 'pyvenv' or 'python3 -m venv' on unstable

2016-03-02 Thread Barry Warsaw
On Mar 02, 2016, at 11:40 AM, Florent Rougon wrote: >Sorry for linking to my own bug report, but am I the only one affected >by bug #815864? Since the fix for this is in python3.5, I've already provided a patch to Matthias. I wanted to get his feedback about one particular point of the patch, bu

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Nicolas Chauvat
Hi, On Wed, Mar 02, 2016 at 11:22:52AM +0800, Paul Wise wrote: > One of the things it has checks for is Python. So far it runs pyflakes > and pep8 Maybe add pylint? -- Nicolas Chauvat logilab.fr - services en informatique scientifique et gestion de connaissances

Using 'pyvenv' or 'python3 -m venv' on unstable

2016-03-02 Thread Florent Rougon
Hello, Sorry for linking to my own bug report, but am I the only one affected by bug #815864? () I'm wondering, because it seems pretty serious to me for people doing Python development (or users wanting to install stuff with pip without b