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

Run flake8 on code snippets in docstrings or RST files #1587

Closed
KushalBeniwal opened this issue May 1, 2022 · 1 comment
Closed

Run flake8 on code snippets in docstrings or RST files #1587

KushalBeniwal opened this issue May 1, 2022 · 1 comment

Comments

@KushalBeniwal
Copy link

describe the request

We at pandas are currently using flake8-rst to run flake8 on code snippets in docstrings or RST files, but flake8-rst is not maintained.
I searched around for a maintained tool that does the same thing but couldn't find much, any leads/help will be appreciated!

@asottile
Copy link
Member

asottile commented May 1, 2022

I'm not aware of any such tool beyond flake8-rst -- it's not really in scope for flake8 itself but I'm hoping to make flake8's api easier to use such that a "flake8 rst checker" could presumably be made without needing to reach into internals

@asottile asottile closed this as completed May 1, 2022
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

2 participants