cookie
cookie copied to clipboard
Add support for Ruff's docstring-code-format
Ruff has a replacement for blacken-docs: astral.sh/blog/ruff-v0.1.8#formatting-code-snippets-in-docstrings.
In Jupyter Server we're skipping PC111 for now.
It doesn’t support .md or .rst files quite yet. It should soon.
Ah, good call out, thanks!
~When it does support these file types, then this can replace blacken-docs, right?~ Answered.
https://github.com/astral-sh/ruff/issues/8237