Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'static': 0.04; 'syntax': 0.04; 'classes,': 0.05; 'explicitly': 0.05; 'output': 0.05; 'received:192.168.178': 0.07; 'variables': 0.07; 'additionally': 0.09; 'cleanup': 0.09; 'python': 0.11; '2.7': 0.14; 'programs.': 0.14; 'finds': 0.16; 'message-id:@web.de': 0.16; 'scopes': 0.16; 'to:addr:python-announce-list': 0.16; 'underscore.': 0.16; 'ignore': 0.16; 'code.': 0.18; 'library': 0.18; 'module': 0.19; "python's": 0.19; 'print': 0.22; 'header :User-Agent:1': 0.23; 'cheers,': 0.24; 'errors': 0.30; 'nature': 0.30; 'code': 0.31; '3.x': 0.31; 'names.': 0.31; 'skip:= 20': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; 'test': 0.35; 'found.': 0.36; 'url:org': 0.36; 'starting': 0.37; 'reported': 0.39; 'to:addr:python.org': 0.39; 'helps': 0.61; 'mentioned': 0.61; 'show': 0.63; 'due': 0.66; 'news': 0.67; 'analysis': 0.75; 'directly.': 0.95 X-IronPort-AV: E=Sophos;i="4.87,947,1363129200"; d="scan'208";a="254555174" Date: Thu, 27 Jun 2013 00:03:15 +0200 From: Jendrik Seipp User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-announce-list@python.org Subject: Vulture 0.4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 27 Jun 2013 11:30:23 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372325424 news.xs4all.nl 15954 [2001:888:2000:d::a6]:39020 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:994 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 ==== * Ignore unused variables starting with an underscore. * Show warning for syntax errors instead of aborting directly. * Print warning if a file cannot be found. Cheers, Jendrik