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
I recently tried running flake8 on typeshed with the flake8-noqa plugin installed, to see if we had any unnecessary noqa comments lying around. Among several other hits (some of which were fixed in python/typeshed#8639), flake8-noqa reported the following:
stubs\protobuf\google\protobuf\struct_pb2.pyi:55:133: NQA102 "# noqa: F821" has no matching violations
stubs\protobuf\google\protobuf\type_pb2.pyi:56:127: NQA102 "# noqa: F821" has no matching violations
These noqa comments do indeed seem to be unnecessary when using the latest version of flake8.
(This doesn't need to be high priority. For several other reasons, I think it's unlikely we'll be able to enable flake8-noqa's NQA102 in CI at typeshed right now, anyway 🙂)
The text was updated successfully, but these errors were encountered:
I recently tried running flake8 on typeshed with the flake8-noqa plugin installed, to see if we had any unnecessary
noqa
comments lying around. Among several other hits (some of which were fixed in python/typeshed#8639), flake8-noqa reported the following:These
noqa
comments do indeed seem to be unnecessary when using the latest version of flake8.flake8-relevant details of my local environment:
(This doesn't need to be high priority. For several other reasons, I think it's unlikely we'll be able to enable flake8-noqa's
NQA102
in CI at typeshed right now, anyway 🙂)The text was updated successfully, but these errors were encountered: