Open nikolaik opened 4 years ago
There is not, but looks useful.
Hello, can some one please guide me on how to work on this issue?
Hello @neesara sorry for the time it took to reply. Did you check the contributor documentation ?
I'm not sure if this should be in the same message, but flagging on the following pattern would be nice as well:
lines = ["a"]
lines += ["b"]
We would need to think about:
lines = ["a"]
line = get_lines()
lines += [line]
Don't think this should be part of initial implementation, but a generic name for this message would help.
Question
Is there an equivalent pylint rule to PyCharm's inspection Redeclared names without usage?
With the example code:
PyCharm would give the warning: