Open johndoknjas opened 6 months ago
def first() -> None: print('hi') def second(recurse: bool = False) -> None: if recurse: second()
For this code snippet, vulture correctly labels first as unused, but it doesn't for second. So to see if a function is used, I'd propose not considering recursive calls.
first
second
For this code snippet, vulture correctly labels
first
as unused, but it doesn't forsecond
. So to see if a function is used, I'd propose not considering recursive calls.