Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: news@news.bbs.geek.nz Newsgroups: comp.lang.python.announce Subject: Vulture 0.12 Date: Thu, 05 Jan 2017 12:22:30 +1200 Organization: fsxNet Usenet Gateway | bbs.geek.nz/#fsxNet Lines: 37 Approved: python-announce-list@python.org Message-ID: References: <3728908121@f38.n261.z1.binkp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de R5OW8PHfbvmX7Br+DB9VGQlB1UCfwBy6DVf5+h6eoWDA== Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.041 X-Spam-Evidence: '*H*': 0.92; '*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; '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; 'charset:us- ascii': 0.38; 'likely': 0.38; 'some': 0.39; 'called': 0.40; 'test': 0.40; 'received:io': 0.40; 'received:psf.io': 0.40; 'your': 0.60; 'from:no real name:2**0': 0.61; 'received:gq1.yahoo.com': 0.61; 'received:mail.gq1.yahoo.com': 0.61; 'received:216': 0.63; 'news': 0.64; 'to:addr:comp-lang- python-announce': 0.68; '100%': 0.71; 'analysis': 0.72; 'received:130': 0.74; 'miss': 0.77; 'to:addr:moderators.isc.org': 0.77; 'received:130.133': 0.82; 'received:130.133.4': 0.82; 'received:130.133.4.7': 0.82; 'received:individual.net': 0.82; 'received:moderators.individual.net': 0.82; 'received:216.39': 0.91; 'received:216.39.60': 0.91; 'from:addr:news': 0.93; 'quality.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1483737369; bh=dHoAS2uOf0625mG1suszVn62JaikktXfHCBcv9hb2Ro=; h=From:To:Subject:Date:From:Subject; b=jMOcx4i6lUHTo4fLNsqrzqJgPllOWzunSC9qBZ4Ai3JR7IAbh4qQw6ZteLmInWMnQ/zFBZFl0TudTA/h+Cy8ktHtL/azAvSqxf7k26X1kd95Rj4nZshojK04ZNlwjbHbcS+VSHbahAd/nia3PLnM3P0t9Gf6AvEnkRYJzc7MlaXhCeEq1Z107Og5K9B4kZq4CWZy/b0IpbDWrD/+Xnt63WY3XCwibGpmxFvsbNpp1JIMvYilvuEIb5fr5BLC+yVBfApfThgb7kha817i1wNX30VYbbB4epoJqKmxmtC3xw5KTLd9h7ZepdCSlmhMHMNPAcWJoHX+Jzw6LS7cejH3pg== X-Yahoo-Newman-Id: 945671.23108.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: LVI5nbcVM1lo2vsPOqxWrVX85ApbHdGw2ZXpNSZxdNie5gT BT0r8K8wXydgm5tJceXcTaaP.x2tCiFXXyiQMeMYQOZVxQqMQ2Lo.704wNBi Sxv1kc9N_Ip7V0tdlICkhgdC9VrDKKDH2U2V9ta2.0GHsP30mFnT3N6Eqgta u6BYq6A0bcqwsWChTAXo4QGH88kXpsFThD1M590KLfZPiJn6zDDw0wBYaCDF O1bbqrcr1eBC2DYYDe2qRMOAIVePEcLU3p1ru0HmV2P0Rew_7n2MZEypUR_k v37aPOahjRoGmgrg_xA0J_ea8Gg6d73hoCFY0SkNVdX2eCjs64rco6B67cr7 kf52wGe1o2GgBvsSc0i7LBTXeBzh00yjozughDuecIfJKwyFvkBR1j9FcG8X ZaKI4GHFy2Hj9OQkubx535A5pkaDMjgE_dtPItbyLpCtT8AbpoztFaJePIR2 yqCdoGVdVLJnQued.YOow8c859PlFGxiMeWvIznzyxerXn2Voyxr4xDPFTZK bHP6Xdi1w6xZsS6Jxts73R11KjiLC7sCzcMte6VhKeRxTVOrD_0DIEI0.JAS O X-Yahoo-SMTP: s6xZbQ2swBBTzVhPyNpVRbseuMPBfr6C24bnCOk1Hfg_ User-Agent: VSoup v1.2.9.47Beta [95/NT] X-MailConverter: SoupGate-Win32 v1.05 X-Comment-To: All X-Mailman-Approved-At: Sun, 08 Jan 2017 12:57:48 -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: <3728908121@f38.n261.z1.binkp.net> Xref: csiph.com comp.lang.python.announce:2365 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