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
But it probably should: the stacklevel is only set to at least 2 if there is at least one prefix given. Of course, the user may pass in a reference to some unknown tuple, in which case it's probably better to skip the lint - but if they explicitly pass an empty tuple, then it makes sense to still emit the lint.
On the other hand I understand if this is overly pedantic and unlikely, so feel free to close the issue as unplanned!
The text was updated successfully, but these errors were encountered:
As of #503 (cf #497) the following emits no lint:
But it probably should: the stacklevel is only set to at least 2 if there is at least one prefix given. Of course, the user may pass in a reference to some unknown tuple, in which case it's probably better to skip the lint - but if they explicitly pass an empty tuple, then it makes sense to still emit the lint.
On the other hand I understand if this is overly pedantic and unlikely, so feel free to close the issue as unplanned!
The text was updated successfully, but these errors were encountered: