vulture

Find dead Python code

MIT License

Downloads
1.1M
Stars
3.5K
Committers
39
vulture - 2.12 (2024-09-17) Latest Release

Published by jendrikseipp about 1 month ago

  • Use ruff for linting and formatting (Anh Trinh, #347, #349).
  • Replace tox by pre-commit for linting and formatting (Anh Trinh, #349).
  • Add --config flag to specify path to pyproject.toml configuration file (Glen Robertson, #352).
vulture - 2.11 (2024-01-06)

Published by jendrikseipp 9 months ago

  • Switch to tomllib/tomli to support heterogeneous arrays (Sebastian Csar, #340).
  • Bump flake8, flake8-comprehensions and flake8-bugbear (Sebastian Csar, #341).
  • Provide whitelist parity for MagicMock and Mock (maxrake, #342).
vulture - 2.10 (2023-10-06)

Published by jendrikseipp about 1 year ago

  • Drop support for Python 3.7 (Jendrik Seipp, #323).
  • Add support for Python 3.12 (Jendrik Seipp, #332).
  • Use end_lineno AST attribute to obtain more accurate line counts (Jendrik Seipp).
vulture - 2.9.1 (2023-08-21)

Published by jendrikseipp about 1 year ago

  • Use exit code 0 for --help and --version again (Jendrik Seipp, #321).
vulture - 2.9 (2023-08-20)

Published by jendrikseipp about 1 year ago

  • Use exit code 3 when dead code is found (whosayn, #319).
  • Treat non-supported decorator names as "@" instead of crashing (Llandy3d and Jendrik Seipp, #284).
  • Drop support for Python 3.6 (Jendrik Seipp).
vulture - 2.8 (2023-08-10)

Published by jendrikseipp about 1 year ago

  • Add UnicodeEncodeError exception handling to core.py (milanbalazs, #299).
  • Add whitelist for Enum attributes _name_ and _value_ (Eugene Toder, #305).
  • Run tests and add PyPI trove for Python 3.11 (Jendrik Seipp).
vulture - 2.7 (2023-01-08)

Published by jendrikseipp almost 2 years ago

  • 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).
vulture - 2.6 (2022-09-19)

Published by jendrikseipp about 2 years ago

  • Add basic match statement support (kreathon, #276, #291).
vulture - 2.5 (2022-07-03)

Published by jendrikseipp over 2 years ago

  • Mark imports in __all__ as used (kreathon, #172, #282).
  • Add whitelist for pint.UnitRegistry.default_formatter (Ben Elliston, #258).
vulture - 2.4 (2022-05-19)

Published by jendrikseipp over 2 years ago

  • Print absolute filepaths as relative again (as in version 2.1 and before)
    if they are below the current directory (The-Compiler, #246).
  • Run tests and add PyPI trove for Python 3.10 (chayim, #266).
  • Allow using the del keyword to mark unused variables (sshishov, #279).
vulture - 2.3 (2021-01-16)

Published by jendrikseipp almost 4 years ago

vulture - 2.2 (2021-01-15)

Published by jendrikseipp almost 4 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).
vulture - 2.1 (2020-08-19)

Published by jendrikseipp about 4 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).
vulture - 2.0 (2020-08-11)

Published by jendrikseipp about 4 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).
vulture - 1.6 (2020-07-28)

Published by jendrikseipp over 4 years ago

  • Differentiate between functions and methods (Jendrik Seipp, #112, #209).
  • Move from Travis to GitHub actions (RJ722, #211).
vulture - 1.5 (2020-05-24)

Published by jendrikseipp over 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).
vulture - 1.4 (2020-03-30)

Published by jendrikseipp over 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.
vulture - 1.3 (2020-02-03)

Published by jendrikseipp over 4 years ago

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