-
Notifications
You must be signed in to change notification settings - Fork 206
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
N806 - false positive for class #89
Comments
We could consider changing the rule to allow a mixed-case variable name (left-hand side) if its being assigned to a mixed-case name (right-hand side). |
@jparise I'm not confident in how necessary or common this is. It hasn't seen a lot of support or requests for help and I'm not certain relaxing this with no way to constrict it is the right choice. |
@sigmavirus24 I think that's a fine position to take, too. I imagine these cases are rare in practice, so it's reasonable to ask users to annotate them with |
|
Regarding N806 (variable in function should be lowercase)
In Django I have a class that I create alias for which should be uppercase because it's still a class:
So it's clearly a false positive to me. Can you fix it?
The text was updated successfully, but these errors were encountered: