Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unused variable only 60% #367

Open
dpinol opened this issue Sep 25, 2024 · 0 comments
Open

unused variable only 60% #367

dpinol opened this issue Sep 25, 2024 · 0 comments

Comments

@dpinol
Copy link

dpinol commented Sep 25, 2024

Why does vulture only assigns 60% confidence to the unused variable below. The assignment is always useless, right?

def fn() -> None:
    unused = 2

fn()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant