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
#7146 introduces the ability to format code examples within docstrings in .py files. In this message outlining the proposed strategy it was specifically deemed out of scope to apply formatting to .rst or .md files
Formatting Python code in other formats
This means you won't be able to run the formatter over a .rst or a .md file
and have it format any Python code blocks in it. This initial implementation
will only support reformatting Python snippets within docstrings inside Python
files. We can consider formatting Python code in other formats as a future
project.
I'm opening up this issue to request such an ability be added to ruff it that is not already being considered. Or, if it has been considered, then to discuss the issue or hear why it wouldn't be possible.
The text was updated successfully, but these errors were encountered:
#7146 introduces the ability to format code examples within docstrings in
.py
files. In this message outlining the proposed strategy it was specifically deemed out of scope to apply formatting to.rst
or.md
filesI'm opening up this issue to request such an ability be added to
ruff
it that is not already being considered. Or, if it has been considered, then to discuss the issue or hear why it wouldn't be possible.The text was updated successfully, but these errors were encountered: