-
Type:
Task
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
Describe the background behind the problem.
Ruff's TC003 rule requires that stdlib imports used only for type-checking are imported within a if TYPE_CHECKING block for improved runtime performance.
Definition of done
What must be done to consider the task complete?
Enable the TC003 rule and make the required code changes for it to pass.
Pitfalls
What should the implementer watch out for? What are the risks?
- blocks
-
PYTHON-6260 Opt into all ruff TC rules
-
- Closed
-