Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Python-announce] Vulture 2.7

7 views
Skip to first unread message

Jendrik Seipp

unread,
Jan 8, 2023, 4:32:44 PM1/8/23
to
Vulture - Find dead code
========================

Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
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
very helpful tool for higher code quality.


Download
========
https://github.com/jendrikseipp/vulture
http://pypi.python.org/pypi/vulture


Features
========
* fast: uses static code analysis
* tested: tests itself and has complete test coverage
* complements pyflakes and has the same output syntax
* sorts unused classes and functions by size with `--sort-by-size`
* supports Python 3.6+


News
====
* Ignore `setup_module()`, `teardown_module()`, etc. in pytest
`test_*.py` files (Jendrik Seipp).
* Add whitelist for `socketserver.TCPServer.allow_reuse_address` (Ben
Elliston).
* Clarify that `--exclude` patterns are matched against absolute paths
(Jendrik Seipp, #260).
* Fix example in README file (Jendrik Seipp, #272).


Cheers,
Jendrik












0 new messages