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
====
0.18 (2017-07-17)
-----------------
* Make `--sort-by-size` faster and more accurate (thanks @RJ722).
0.17 (2017-07-17)
-----------------
* Add `get_unused_code()` method.
* Return with exit code 1 when syntax errors are found or files can't be
read.
Cheers,
Jendrik
--
https://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/