Vulture

Latest version: v2.13

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

Scan your dependencies

Page 5 of 9

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).

0.22

* Detect unreachable code after `return`, `break`, `continue` and
`raise` (thanks RJ722).
* Parse all variable and attribute names in new format strings.
* Extend ast whitelist.

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.