Skip to content

Releases: jendrikseipp/vulture

2.4 (2022-05-19)

19 May 19:59
Compare
Choose a tag to compare
  • 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).

2.3 (2021-01-16)

16 Jan 17:51
Compare
Choose a tag to compare

2.2 (2021-01-15)

15 Jan 17:36
Compare
Choose a tag to compare
  • 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).

2.1 (2020-08-19)

19 Aug 09:18
Compare
Choose a tag to compare
  • 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).

2.0 (2020-08-11)

11 Aug 21:30
Compare
Choose a tag to compare
  • 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).

1.6 (2020-07-28)

28 Jul 00:01
Compare
Choose a tag to compare
  • Differentiate between functions and methods (Jendrik Seipp, #112, #209).
  • Move from Travis to GitHub actions (RJ722, #211).

1.5 (2020-05-24)

24 May 18:58
Compare
Choose a tag to compare
  • Support flake8 "noqa" error codes F401 (unused import) and F841 (unused
    local variable) (RJ722, #195).
  • Detect unreachable code in conditional expressions
    (Agathiyan Bragadeesh, #178).

1.4 (2020-03-30)

30 Mar 10:04
Compare
Choose a tag to compare
  • 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.

1.3 (2020-02-03)

03 Feb 11:53
Compare
Choose a tag to compare
  • Detect redundant 'if' conditions without 'else' blocks.
  • Add whitelist for string.Formatter (Joseph Bylund, #183).