Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jendrik Seipp Newsgroups: comp.lang.python.announce Subject: Vulture 0.12 Date: Thu, 5 Jan 2017 12:22:31 +0100 Lines: 41 Approved: python-announce-list@python.org Message-ID: References: <1184553c-c3f6-7cc2-57f2-bf3d5e1308d8@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 4uXdwaaK2847Bkey0hh/yA01wSVpOvbGQOYIne+OAgIg== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'classes,': 0.05; 'cleanup': 0.07; 'utf-8': 0.07; 'versions.': 0.07; 'python': 0.09; 'assume': 0.12; '2.7': 0.13; 'programs.': 0.13; 'syntax': 0.13; 'encoding': 0.15; 'static': 0.15; 'variables': 0.15; 'message-id:@web.de': 0.16; 'detect': 0.18; 'output': 0.18; 'tests': 0.18; 'input': 0.18; 'library': 0.20; '3.2': 0.22; '3.x': 0.22; 'code.': 0.23; 'helpful': 0.23; "python's": 0.23; 'module': 0.23; 'cheers,': 0.24; 'header:User- Agent:1': 0.26; 'finds': 0.29; 'implicitly': 0.29; 'code': 0.30; 'errors': 0.30; 'url:python': 0.31; 'older': 0.32; 'reported': 0.32; 'skip:= 20': 0.33; 'tool': 0.34; 'run': 0.34; 'url:org': 0.36; 'itself': 0.38; 'likely': 0.38; 'some': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'test': 0.40; 'received:io': 0.40; 'received:psf.io': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'news': 0.64; 'received:ch': 0.65; '100%': 0.71; 'to:addr:python-announce-list': 0.71; 'analysis': 0.72; 'miss': 0.77; '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.5.1 X-Mailman-Approved-At: Fri, 06 Jan 2017 03:48:45 -0500 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: <1184553c-c3f6-7cc2-57f2-bf3d5e1308d8@web.de> Xref: csiph.com comp.lang.python.announce:2361 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 ======== 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 ==== * Detect unused imports. * Use tokenize.open() on Python >= 3.2 for reading input files, assume UTF-8 encoding on older Python versions. Cheers, Jendrik