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
In the future, please search closed and open issues before creating new ones that are duplicates. The issue right below you on the issue list is literally a duplicate of this: #945
In the future, please search closed and open issues before creating new ones that are duplicates.
I did and this is how I discovered #882. As far as I understand the discussion there, only workarounds exist for this problem. Thus, I was even more surprised to find that one "style" above checks fine while the other fails.
The issue right below you on the issue list is literally a duplicate of this: #945
Maybe it is related, but from my perspective its definitively not a duplicate. #945 is specifically about how to handle None for E721, which is not part of the problem I described.
Related to the discussion in #882 if type equality or identity comparisons should be allowed.
Consider the following snippet run with
pycodestyle==2.6.0
onpython==3.6
:It complains only for the first two assertions. If I'm not mistaken this means that either:
The text was updated successfully, but these errors were encountered: