Releases: jendrikseipp/vulture
Releases · jendrikseipp/vulture
2.5 (2022-07-03)
- Mark imports in
__all__
as used (kreathon, #172, #282).
- Add whitelist for
pint.UnitRegistry.default_formatter
(Ben Elliston, #258).
2.4 (2022-05-19)
- 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.2 (2021-01-15)
- 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)
- 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)
- 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)
- Differentiate between functions and methods (Jendrik Seipp, #112, #209).
- Move from Travis to GitHub actions (RJ722, #211).
1.5 (2020-05-24)
- 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)
- 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)
- Detect redundant 'if' conditions without 'else' blocks.
- Add whitelist for
string.Formatter
(Joseph Bylund, #183).