Using ruff to format code examples in docstrings #7146
Description
At @pola-rs , we currently use ruff
in combination with black
for our Python formatting needs. We also use blackdoc
for formatting our docstring code examples. Out of these three, blackdoc
is by far the slowest.
With ruff
gaining many of the capabilities of the black
formatter, it would be great if we could also replace blackdoc
soon and only use ruff
.