Closed sobolevn closed 4 years ago
The same is applied to set()
, list()
, factory()
and other simple callables.
Thanks for doing this. I was about to post the exact same issue!
Just sent over $10 as a token of my appreciation. Keep up the great work!
@memery-imb thank you! That's awesome!
I feel so good from knowing that people actually use and benefit from this project! 👍
Should it count minus unary operator (-
)? In my code i often use negative value of a named variable and such usage breaks this rule.
Example:
my_value = 5
position = (0, -my_value)
@pawelarybak yes, it should not. Please, create a new issue.
Bug report
What's wrong
Currently, this is an error in our linter:
But, how can one remove this violation? Impossible. We should ignore single node collections and named variables.