Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jendrik Seipp Newsgroups: comp.lang.python.announce Subject: Vulture 0.14 Date: Thu, 6 Apr 2017 11:03:06 +0200 Lines: 43 Approved: python-announce-list@python.org Message-ID: References: <6b0edec8-381f-9a61-57e4-b9dd5f148683@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 eiw3b5i0Lt1qvCKDhcekHgA681DeZHd32HjZj1kCsffA== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'classes,': 0.05; 'url:github': 0.05; 'cleanup': 0.07; 'python': 0.09; '2.7': 0.11; 'ignore': 0.12; 'programs.': 0.13; 'syntax': 0.13; 'files.': 0.15; 'static': 0.15; 'variables': 0.15; '"test"': 0.16; 'message-id:@web.de': 0.16; 'received:192.168.43': 0.16; 'stub': 0.16; 'output': 0.18; 'tests': 0.18; 'library': 0.20; 'cheers,': 0.22; '3.x': 0.22; 'code.': 0.23; 'helpful': 0.23; "python's": 0.23; 'module': 0.23; 'header:User-Agent:1': 0.26; 'finds': 0.29; 'implicitly': 0.29; 'code': 0.30; 'errors': 0.30; 'url:python': 0.31; 'reported': 0.32; 'skip:= 20': 0.33; 'tool': 0.34; 'run': 0.35; 'class': 0.36; 'file': 0.36; 'files': 0.36; 'url:org': 0.36; 'add': 0.37; 'itself': 0.38; 'some': 0.38; 'likely': 0.38; 'proto:https': 0.39; 'to:addr:python.org': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'called': 0.40; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'your': 0.61; 'charset:windows-1252': 0.62; 'news': 0.64; 'complete': 0.65; 'received:ch': 0.65; 'to:addr:python-announce- list': 0.72; 'analysis': 0.73; 'miss': 0.77; 'whitelist': 0.84; 'quality.': 0.93 X-Virus-Scanned: amavisd-new at unibas.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Mailman-Approved-At: Thu, 06 Apr 2017 05:11:04 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.23 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: <6b0edec8-381f-9a61-57e4-b9dd5f148683@web.de> Xref: csiph.com comp.lang.python.announce:2446 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 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 ==== * Add stub whitelist file for Python standard library (thanks @RJ722) * Ignore class names starting with "Test" in "test\_" files (thanks @thisch). * Ignore "test\_" functions only in "test\_" files. Cheers, Jendrik