You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! Put a little more generally, Vulture should detect that code is unreachable if it occurs after an if-else block or a try-except block where all cases exit the function (with return or raise).
Here is another test case that Vulture currently misses:
For a following file:
vulture dead_return.py
doesn't report anything, while it should report code on line 6, as this one is unreachable.
vulture 2.3, python 3.9
The text was updated successfully, but these errors were encountered: