-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Infrastructure
-
None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
Describe the background behind the problem.
Ruff's TC001 rule requires that first-party 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 TC001 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
-