-
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.
PYTHON-6249 enabled the small number of D rules on by default. Opting into the full suite of D rules will improve docstring consistency and make enforcing our coding standards easier and more automated.
This ticket tracks the enablement of ruff rules D202, D209, D301, and D403, which deal with docstring whitespace and escape characters.
Definition of done
What must be done to consider the task complete?
Enable the D202, D209, D301, and D403 rules and make the required changes to pass them.
Pitfalls
What should the implementer watch out for? What are the risks?