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


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

static analysis and other tools for checking Python code

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.maint.python
Subject static analysis and other tools for checking Python code
Date Wed, 02 Mar 2016 04:30:01 +0100
Message-ID <r85E5-1TO-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Mar 2 03:23:08 2016
Old-Return-Path <paul.is.wise@gmail.com>
X-Amavis-Spam-Status No, score=-7.597 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=j1WFvZet9WjZOjjbylU9ohe1zlQakIab3959A8o97Ew=; b=d+Bidwkm80TudegOMpMcjgmnt1tP0biiJLUHiMhSlB/+KS/xrEtkOE5hjAWepOcYpC fL01FB/Ha/SguzMXOhkj4wNrVpR9B7wDbX2QcUJIyL423zg8W+fN6DE+FAxXuCxAZ6GK fCHQjS+KeBjLJJTvj2b9teR8tqlATOPANrzbqBCjr3lSCLW12U5RehfbN2et+LrKGcFF bQFx/oUrfI4PSndd+jemvBKSmObXC9XyJCM0zcHhsM3L8G9dEcAD3RRJ0b8TYt6VoSHf hKLaFwVCAD0jsMlFzGaqWOgih9jPJXyUeJRX4T4Kyp2vNCSC9ZfQkniNQ+R3OqE/Zryj wzfw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=j1WFvZet9WjZOjjbylU9ohe1zlQakIab3959A8o97Ew=; b=V3evw4KkfxIufG8N5DUArXLd5fAe/x0wegLKn0yI7t4HHVWowRpRf5OKdEwWnamo8z bZQKB0oLS6VTX1jDWmarQ+DrwRJK+HzsMOAm65stX3sGyU0Kc3F9ejo9oAYK2KgGUtXG Y7nvqEtyIbc9t/0IOuvMZUNJW8iiRMleTMaGIvPt+iL0PeCaxsF09dakx8xeUb5IpHus fhwr33Bwi0gvti4wyHzm7Uy73bZTosDSRtU+6xsfRDgEcGcPIcmRizYwPTBNrb/uckaP 52tg0s+HmGeynz0uXQSbuDhJoS/ppya+bJ/S0lWeI8qtJCNaApFLmoqp7r75Qk0QTJQZ eSMg==
X-Gm-Message-State AD7BkJIFjduVdtQXtrZvMkZLMSyCjk7xipPyJznNI0rO8pNcwaqXNCnhVxtZHN3QRDlMHpMBbQzg0UFDl3CuMQ==
MIME-Version 1.0
X-Received by 10.28.48.137 with SMTP id w131mr2146339wmw.73.1456888972079; Tue, 01 Mar 2016 19:22:52 -0800 (PST)
Sender robomod@news.nic.it
X-Google-Sender-Auth 3pizs9vtFGH1W20Jer1mk92LYHU
Content-Type text/plain; charset=UTF-8
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13580
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAKTje6Hjp+RA666ey=mi7mwsTnxOor2LS85pSU7krziM0Z6=Yw@mail.gmail.com
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Date Wed, 2 Mar 2016 11:22:52 +0800
X-Original-Message-ID <CAKTje6Hjp+RA666ey=mi7mwsTnxOor2LS85pSU7krziM0Z6=Yw@mail.gmail.com>
X-Original-Sender paul.is.wise@gmail.com
Xref csiph.com linux.debian.maint.python:8253

Show key headers only | View raw


Hi all,

Some of you may have noticed I'm working on a tool called
check-all-the-things that does what it says on the tin.

https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git
https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/doc/README

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.

https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/data/python

There is a long list of TODO items for Python checking tools. I would
really appreciate some help turning this TODO list into checks and or
packaging of some of the tools not yet in Debian.

If anyone knows of tools that do the equivalent of the hacky greps
that would be helpful too, or even just which tool should be adding
tests for those issues.

If anyone wants to help work on the c-a-t-t code, it is written in Python too.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Back to linux.debian.maint.python | Previous | NextNext 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