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


Groups > comp.lang.python.announce > #3199 > unrolled thread

Vulture 1.1

Started byJendrik Seipp <jendrikseipp@gmail.com>
First post2019-09-23 21:51 +0200
Last post2019-09-23 21:51 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  Vulture 1.1 Jendrik Seipp <jendrikseipp@gmail.com> - 2019-09-23 21:51 +0200

#3199 — Vulture 1.1

FromJendrik Seipp <jendrikseipp@gmail.com>
Date2019-09-23 21:51 +0200
SubjectVulture 1.1
Message-ID<14e590ac-34f2-fd19-e4d6-d73835de9867@gmail.com>
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 2.7 and Python 3.5+


News
====
* Add ``sys.excepthook`` to ``sys`` whitelist.
* Add whitelist for ``ctypes`` module.
* Check that type annotations are parsed and type comments are ignored 
(thanks @kx-chen).
* Support checking files with BOM under Python 2.7 (#170).


Cheers
Jendrik

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web