* 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()`.
* Detect unreachable code after `return`, `break`, `continue` and `raise` (thanks RJ722). * Parse all variable and attribute names in new format strings. * Extend ast whitelist.