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
Interestingly, the diagnostic is printed twice for each key-value pair if the dict is created with {"key": key, "key2": None} and once for each key-value if it's created with dict(key=key, key2=None)
The text was updated successfully, but these errors were encountered:
The following incorrectly results in
perflint_issue.py:6:15: W8201: Consider moving this expression outside of the loop. (loop-invariant-statement)
Interestingly, the diagnostic is printed twice for each key-value pair if the dict is created with
{"key": key, "key2": None}
and once for each key-value if it's created withdict(key=key, key2=None)
The text was updated successfully, but these errors were encountered: