Vulture Versions Save

Find dead Python code

v2.2

3 years ago
  • Only parse format strings when being used with locals() (jingw, #225).
  • Don't override paths in pyproject.toml with empty CLI paths (bcbnz, #228).
  • Run continuous integration tests for Python 3.9 (ju-sh, #232).
  • Use pathlib internally (ju-sh, #226).

v2.1

3 years ago
  • 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).

v2.0

3 years ago
  • Parse # type: ... comments if on Python 3.8+ (jingw, #220).
  • Bump minimum Python version to 3.6 (Jendrik Seipp, #218). The last Vulture release that supports Python 2.7 and Python 3.5 is version 1.6.
  • Consider all files under test or tests directories test files (Jendrik Seipp).
  • Ignore logging.Logger.propagate attribute (Jendrik Seipp).

v1.6

3 years ago
  • Differentiate between functions and methods (Jendrik Seipp, #112, #209).
  • Move from Travis to GitHub actions (RJ722, #211).

v1.5

4 years ago
  • Support flake8 "noqa" error codes F401 (unused import) and F841 (unused local variable) (RJ722, #195).
  • Detect unreachable code in conditional expressions (Agathiyan Bragadeesh, #178).

v1.4

4 years ago
  • Ignore unused import statements in __init__.py (RJ722, #192).
  • Report first decorator's line number for unused decorated objects on Python 3.8+ (RJ722, #200).
  • Check code with black and pyupgrade.

v1.3

4 years ago
  • Detect redundant 'if' conditions without 'else' blocks.
  • Add whitelist for string.Formatter (Joseph Bylund, #183).