-
Notifications
You must be signed in to change notification settings - Fork 8
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
_ variable should be ignored #17
Comments
I'm not taking about _* variables, only _ variables |
So to be clear, you're saying functions like this?
|
More like
_ should be ignored by default |
To make sure I understand, in this case we’d ignore the assignment to _, so then the c argument would be reported unused. Is that the behavior you’d want? |
I'm also in for if anything, report a warning if it's actually being used |
@FelipeLema that's a different request to what's being asked for here. What you're asking for is already supported - U101 is for unused arguments that start with an underscore, so you can simply start ignoring U101. |
oh, I didn't know that... thanks for noting |
_ is a convention for variable that are not used afterwards.
The text was updated successfully, but these errors were encountered: