josh-fell commented on PR #36262: URL: https://github.com/apache/airflow/pull/36262#issuecomment-1859200879
> This _might_ also remove the need for `blacken-docs` inferring from this comment from the [release notes of what this new version of Ruff Formatter supports](https://astral.sh/blog/ruff-v0.1.8#formatting-code-snippets-in-docstrings): > > > reStructuredText [code-block and sourcecode directives](https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-code-block). As with Markdown, the language names recognized for Python are python, py, python3, or py3. > > Am I reading that correctly? Nope just handles those directives in docstrings not in rST files. Maybe one day. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
