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 just discovered this because ruff is rewriting isinstance(a, (int, str)) to union types since v0.0.254. It may be related to another issue, but I came up empty after looking at existing ones.
Bug description
The following is valid code in python 3.10+ (iirc):
Configuration
# default
Command used
Pylint output
Expected behavior
No error
Pylint version
OS / Environment
Ubuntu 22.04
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: