Vulture

Latest version: v2.14

Safety actively analyzes 723200 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 9

0.28

* Add `--make-whitelist` flag for reporting output in whitelist format
(thanks RJ722).
* Ignore case of `--exclude` arguments on Windows.
* Add `*-test.py` to recognized test file patterns.
* Add `failureException`, `longMessage` and `maxDiff` to `unittest`
whitelist.
* Refer to actual objects rather than their mocks in default
whitelists (thanks RJ722).
* Don't import any Vulture modules in setup.py (thanks RJ722).

0.27

* Report `while (True): ... else: ...` as unreachable (thanks RJ722).
* Use `argparse` instead of `optparse`.
* Whitelist Mock.return\_value and Mock.side\_effect in unittest.mock
module.
* Drop support for Python 2.6 and 3.3.
* Improve documentation and test coverage (thanks RJ722).

0.26

* Detect `async` function definitions (thanks RJ722).
* Add `Item.get_report()` method (thanks RJ722).
* Move method for finding Python modules out of Vulture class.

0.25

* Detect unsatisfiable statements containing `and`, `or` and `not`.
* Use filenames and line numbers as tie-breakers when sorting by size.
* Store first and last line numbers in Item objects.
* Pass relevant options directly to `scavenge()` and `report()`.

0.24

* Detect unsatisfiable `while`-conditions (thanks RJ722).
* Detect unsatisfiable `if`- and `else`-conditions (thanks RJ722).
* Handle null bytes in source code.

0.23

* Add `--min-confidence` flag (thanks RJ722).

Page 5 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.