Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jendrik Seipp Newsgroups: comp.lang.python.announce Subject: Vulture 0.9 released Date: Wed, 29 Jun 2016 23:24:18 +0200 Lines: 42 Approved: python-announce-list@python.org Message-ID: References: <57743C82.7000406@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 4iT1jt9fhpIwTsMg4yJOZw6Zn9gP5UhffcYjjm+XLddQ== Return-Path: 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; 'url:pypi': 0.03; 'static': 0.03; 'classes,': 0.05; 'attributes': 0.07; 'cleanup': 0.07; 'subject:released': 0.07; 'abort': 0.09; 'python': 0.10; 'programs.': 0.11; '2.7': 0.13; 'files.': 0.13; 'output': 0.13; 'syntax': 0.13; 'variables': 0.15; 'message-id:@web.de': 0.16; 'received:192.168.8': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'tests': 0.18; 'variable': 0.18; 'library': 0.20; '3.x': 0.22; 'names.': 0.22; 'skip:= 20': 0.22; 'cheers,': 0.22; 'code.': 0.23; 'errors': 0.23; "python's": 0.23; 'module': 0.25; 'header:User-Agent:1': 0.26; 'helpful': 0.27; 'error': 0.27; 'finds': 0.29; 'implicitly': 0.29; 'code': 0.30; 'another': 0.32; 'reported': 0.32; 'run': 0.33; 'url:python': 0.33; 'supports': 0.35; 'url:org': 0.36; 'tool': 0.36; 'itself': 0.38; 'test': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'some': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'due': 0.65; 'received:ch': 0.66; 'news': 0.68; 'analysis': 0.72; '100%': 0.72; 'miss': 0.77; 'florian': 0.84; 'quality.': 0.91 X-Virus-Scanned: amavisd-new at unibas.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 X-Mailman-Approved-At: Thu, 30 Jun 2016 07:19:14 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <57743C82.7000406@web.de> Xref: csiph.com comp.lang.python.announce:2199 vulture - Find dead code ======================== Vulture finds unused classes, functions and variables in your 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, 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 ======== http://pypi.python.org/pypi/vulture Features ======== * fast: uses static code analysis * lightweight: only one module * tested: tests itself and has 100% test coverage * complements *pyflakes* and has the same output syntax * supports Python 2.6, 2.7 and 3.x News ==== * Don't flag attributes as unused if they are used as global variables in another module (thanks Florian Bruhin). * Don't consider "True" and "False" variable names. * Abort with error message when invoked on .pyc files. Cheers, Jendrik