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


Groups > comp.lang.python.announce > #2590

Vulture 0.22

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jendrik Seipp <jendrikseipp@web.de>
Newsgroups comp.lang.python.announce
Subject Vulture 0.22
Date Fri, 4 Aug 2017 16:50:18 +0200
Lines 41
Approved python-announce-list@python.org
Message-ID <mailman.118.1502087112.28999.python-announce-list@python.org> (permalink)
References <670e2812-a08c-acee-5df4-1439e1e2539f@web.de>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de O7rK0fBaW+DlmENIBZxFpwiFaCVj5LLC7GWRwl72g/dA==
Return-Path <jendrikseipp@web.de>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'url:github': 0.05; 'strings.': 0.07; 'python': 0.09; 'ast': 0.09; '2.7': 0.11; 'programs.': 0.13; 'syntax': 0.13; 'static': 0.15; '``continue``': 0.16; '``raise``': 0.16; '``return``,': 0.16; 'message-id:@web.de': 0.16; 'nature,': 0.16; 'unreachable': 0.16; 'attribute': 0.18; 'detect': 0.18; 'tests': 0.18; 'library': 0.20; 'variable': 0.20; 'cheers,': 0.22; '3.x': 0.22; 'parse': 0.22; 'code.': 0.23; 'helpful': 0.23; "python's": 0.23; 'module': 0.24; 'output': 0.24; 'header:User-Agent:1': 0.27; 'finds': 0.29; 'implicitly': 0.29; 'code': 0.30; 'errors': 0.30; 'extend': 0.31; 'url:python': 0.32; 'tool': 0.32; 'reported': 0.32; 'skip:= 20': 0.33; 'run': 0.35; 'cleaning': 0.35; 'useful': 0.36; 'url:org': 0.36; 'skip:- 10': 0.38; 'large': 0.38; 'received:io': 0.38; 'received:psf.io': 0.38; 'some': 0.38; 'received:ams1.psf.io': 0.38; 'received:mail1.ams1.psf.io': 0.38; 'likely': 0.38; 'proto:https': 0.39; 'to:addr:python.org': 0.40; 'test': 0.40; 'your': 0.61; 'charset:windows-1252': 0.63; 'received:ch': 0.65; 'news': 0.65; 'complete': 0.66; 'to:addr:python-announce-list': 0.72; 'analysis': 0.74; 'miss': 0.78; 'quality.': 0.93
X-Virus-Scanned amavisd-new at unibas.ch
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
Content-Language de-CH
X-Mailman-Approved-At Mon, 07 Aug 2017 02:25:11 -0400
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.24
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <670e2812-a08c-acee-5df4-1439e1e2539f@web.de>
Xref csiph.com comp.lang.python.announce:2590

Show key headers only | View raw


Vulture - Find dead code
========================

Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
on both your library and test suite you can find untested code.

Due to Python's dynamic nature, static code analyzers like Vulture are
likely to miss some dead code. Also, code that is only called
implicitly may be reported as unused. Nonetheless, Vulture can be a
very helpful tool for higher code quality.


Download
========
https://github.com/jendrikseipp/vulture
http://pypi.python.org/pypi/vulture


Features
========
* fast: static code analysis
* lightweight: only one module
* tested: tests itself and has complete test coverage
* complements pyflakes and has the same output syntax
* supports Python 2.6, 2.7 and 3.x


News
====

0.22 (2017-08-04)
-----------------
* Detect unreachable code after ``return``, ``break``, ``continue`` and
   ``raise`` (thanks @RJ722).
* Parse all variable and attribute names in new format strings.
* Extend ast whitelist.


Cheers,
Jendrik

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Vulture 0.22 Jendrik Seipp <jendrikseipp@web.de> - 2017-08-04 16:50 +0200

csiph-web