PYTHON-6276ClosedWon't Do
Enable ruff rule ERA001
h3. *Context* {color:#505f79}Describe the background behind the problem.{color} Ruff's ERA001 rule forbids commented-out code. This is generally a good practice and improves codebase quality and readability. h3. *Definition of done* {color:#505f79}What must be done to consider the task complete?{color} Enable rule ERA001 and make the required changes to pass it. h3. *Pitfalls* {color:#505f79}What should the implementer watch out for? What are the risks?{color}