You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ruff introducing the docstring-code-format setting, the tool might start to follow what https://pypi.org/project/blacken-docs/ offers - not just black style formatting to doctests within Python files, but also doctests and Python snippets within reStructuredText files (*.rst, often used for Python project documentation), Markdown files (*.md), and even LaTeX files (*.tex).
Is this something you think could be on the ruff roadmap? Or might it be better to look at other ways to achieve this, e.g. one might try modifying blacken-docs to invoke either black (as now) or the ruff formatter internally.
The text was updated successfully, but these errors were encountered:
With ruff introducing the
docstring-code-format
setting, the tool might start to follow what https://pypi.org/project/blacken-docs/ offers - not just black style formatting to doctests within Python files, but also doctests and Python snippets within reStructuredText files (*.rst
, often used for Python project documentation), Markdown files (*.md
), and even LaTeX files (*.tex
).Is this something you think could be on the ruff roadmap? Or might it be better to look at other ways to achieve this, e.g. one might try modifying
blacken-docs
to invoke eitherblack
(as now) or theruff
formatter internally.The text was updated successfully, but these errors were encountered: