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
The following code should be considered invalid because # pyright: ignore does not have a code. However, because # noqa has a code, the line doesn't get flagged.
The following code should be considered invalid because
# pyright: ignore
does not have a code. However, because# noqa
has a code, the line doesn't get flagged.If I change it to
then
PGH003
does fire (as well asSLF001
, of course.The correct behavior is that only
should be considered valid.
It's worth noting that
# noqa
is not recognized by Pyright, as it's a linter directing, not a type-checking one.The text was updated successfully, but these errors were encountered: