-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
good first issuepythonIssues that should only require updating Python codeIssues that should only require updating Python codetype: task
Description
Problem description
The Ruff rule, which enforced this change, has been removed in the latest version, as it is slower than a tuple. We should therefore revert |
back into tuples.
docs.astral.sh/ruff/rules/non-pep604-isinstance
An example of this is here:
bokeh/src/bokeh/core/property/descriptors.py
Line 483 in 6be1a10
return isinstance(value, FunctionType | InstanceDefault) |
Feature description
Potential alternatives
Additional information
No response
Metadata
Metadata
Assignees
Labels
good first issuepythonIssues that should only require updating Python codeIssues that should only require updating Python codetype: task