• Vulture 2.1

    From Jendrik Seipp@21:1/5 to All on Wed Aug 19 11:20:58 2020
    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 Python 3.6+


    News
    ====
    * Treat `getattr/hasattr(obj, "constant_string", ...)` as a reference to
      `obj.constant_string` (jingw, #219).
    * Fix false positives when assigning to `x.some_name` but reading via
      `some_name`, at the cost of potential false negatives (jingw, #221).
    * Allow reading options from `pyproject.toml` (Michel Albert, #164, #215).


    Cheers
    Jendrik

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)