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


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

Vulture 0.3 released

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:released': 0.03; 'attributes': 0.05; 'cleanup': 0.07; 'names.': 0.07; 'url:pypi': 0.08; 'python': 0.08; 'message-id:@web.de': 0.09; 'tuple': 0.09; 'output': 0.10; 'library': 0.13; '2.7': 0.13; 'classes,': 0.13; '.py': 0.16; '2.6,': 0.16; 'ignores': 0.16; 'scopes': 0.16; 'syntax': 0.16; 'cheers,': 0.20; 'programs.': 0.23; 'additionally': 0.23; 'from:addr:web.de': 0.23; 'command': 0.24; "python's": 0.24; 'static': 0.24; 'code.': 0.26; 'module': 0.26; 'code': 0.26; 'explicitly': 0.29; '3.x': 0.30; 'python3': 0.30; 'header:User-Agent:1': 0.33; 'test': 0.34; 'url:python': 0.35; 'to:addr:python-announce-list': 0.37; 'variables': 0.37; 'run': 0.37; 'uses': 0.38; 'some': 0.38; 'files': 0.39; 'url:org': 0.39; 'received:de': 0.39; 'to:addr:python.org': 0.40; 'your': 0.61; 'helps': 0.63; 'due': 0.66; 'received:188': 0.68; 'news': 0.73; 'dead': 0.77; 'analysis': 0.77; 'analyzer': 0.84
Delivery-date Thu, 22 Mar 2012 16:26:56 +0100
Date Thu, 22 Mar 2012 16:03:44 +0100
From Jendrik Seipp <jendrikseipp@web.de>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120313 Thunderbird/11.0
MIME-Version 1.0
To python-announce-list@python.org
Subject Vulture 0.3 released
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Fri, 23 Mar 2012 14:51:41 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.921.1332510702.3037.python-announce-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1332510702 news.xs4all.nl 6923 [2001:888:2000:d::a6]:38318
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:556

Show key headers only | View raw


vulture - Find dead code
========================

vulture finds unused classes, functions and variables in Python code. 
This helps you cleanup and find errors in your programs. If you run it 
on both your library and test suite you can find untested code.

Due to Python's dynamic nature it is impossible to find all dead code 
for a static code analyzer like vulture, because it ignores scopes and 
scans only token names. Additionally some dynamic items that are not 
explicitly mentioned in the code may be incorrectly reported as dead code.


Download
========

http://pypi.python.org/pypi/vulture


Features
========

- Fast: Uses static code analysis
- Lightweight: Only one module
- Complements pyflakes and has the same output syntax
- Supports Python 2.6, 2.7 and 3.x


News
====

* Add support for python3
* Report unused attributes
* Find tuple assignments in comprehensions
* Scan files given on the command line even if they don't end with .py


Cheers,
Jendrik




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


Thread

Vulture 0.3 released Jendrik Seipp <jendrikseipp@web.de> - 2012-03-22 16:03 +0100

csiph-web