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


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

Vulture 0.12

From news@news.bbs.geek.nz
Newsgroups comp.lang.python.announce
Subject Vulture 0.12
Date 2017-01-05 12:22 +1200
Organization fsxNet Usenet Gateway | bbs.geek.nz/#fsxNet
Message-ID <mailman.351.1483898269.2395.python-announce-list@python.org> (permalink)
References <3728908121@f38.n261.z1.binkp.net>

Show all headers | View raw


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

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


Thread

Vulture 0.12 news@news.bbs.geek.nz - 2017-01-05 12:22 +1200

csiph-web