Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2569

Vulture 0.16

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jendrik Seipp <jendrikseipp@web.de>
Newsgroups comp.lang.python.announce
Subject Vulture 0.16
Date Wed, 12 Jul 2017 21:29:23 +0200
Lines 43
Approved python-announce-list@python.org
Message-ID <mailman.49.1499948254.29743.python-announce-list@python.org> (permalink)
References <9f961689-b591-79c8-b76f-306f860363c3@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 xSss12HhyQZXdAunYoL8MQH3vDGN15ZSV/eFrIsBCtHQ==
Return-Path <jendrikseipp@web.de>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.007
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; 'imports': 0.09; '2.7': 0.11; 'programs.': 0.13; 'syntax': 0.13; 'static': 0.15; 'variables': 0.15; 'attributes.': 0.16; 'message-id:@web.de': 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.24; 'module': 0.24; 'header:User- Agent:1': 0.26; 'finds': 0.29; 'implicitly': 0.29; 'classes': 0.30; 'code': 0.30; 'errors': 0.31; 'url:python': 0.31; 'reported': 0.33; 'skip:= 20': 0.33; 'option': 0.34; 'tool': 0.34; 'run': 0.35; 'url:org': 0.36; 'add': 0.37; 'itself': 0.38; 'skip:- 10': 0.38; 'some': 0.38; 'likely': 0.39; 'proto:https': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'to:addr:python.org': 0.39; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'called': 0.40; 'your': 0.61; 'charset:windows-1252': 0.62; 'news': 0.64; 'complete': 0.65; 'received:ch': 0.65; 'accessed': 0.72; 'to:addr:python-announce- list': 0.72; 'analysis': 0.73; 'miss': 0.77; 'quality.': 0.93
X-Virus-Scanned amavisd-new at unibas.ch
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
Content-Language de-CH
X-Mailman-Approved-At Thu, 13 Jul 2017 08:17:33 -0400
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.24
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <9f961689-b591-79c8-b76f-306f860363c3@web.de>
Xref csiph.com comp.lang.python.announce:2569

Show key headers only | View raw


vulture - Find dead code
========================

Vulture finds unused classes, functions, imports 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
====

* Differentiate between unused classes and functions (thanks @RJ722).
* Add --sort-by-size option (thanks @jackric and @RJ722).
* Count imports as used if they are accessed as module attributes.


Cheers,
Jendrik




Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Vulture 0.16 Jendrik Seipp <jendrikseipp@web.de> - 2017-07-12 21:29 +0200

csiph-web