You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def ster(oids):
for i in range(oids)
print("oids")
while in the cycle (it is kind of disputable) if it is really unused when it runs the cycle, I think the better pylint result in this case would be either some "info" like "Consider using _ when not planning to utilize the variable used for constructing the cycle".
(On other hand, I don't understand why are the real problems/errors are mixed up with some sort of highly opinioned assumptions on how the code should look like of pylint's which are considered errors as well.
where the prime example of this is sort of error is being considering an empty line a triling space!)
astroid 2.4.2
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]
Steps to reproduce
This seems to be the minimal reproducer,
Current behavior
Expected behavior
No error, since the function is used.
pylint --version output
The text was updated successfully, but these errors were encountered: