Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Ruff's docstring-code-format #343

Open
blink1073 opened this issue Dec 16, 2023 · 3 comments
Open

Add support for Ruff's docstring-code-format #343

blink1073 opened this issue Dec 16, 2023 · 3 comments

Comments

@blink1073
Copy link

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.

@henryiii
Copy link
Collaborator

It doesn’t support .md or .rst files quite yet. It should soon.

@blink1073
Copy link
Author

Ah, good call out, thanks!

@nstarman
Copy link

nstarman commented Apr 27, 2024

When it does support these file types, then this can replace blacken-docs, right? Answered.

astral-sh/ruff#8237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants