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

Flag problematic uses of blockquote (with lists, blocks etc) #75

Open
pradyunsg opened this issue Oct 9, 2023 · 2 comments
Open

Flag problematic uses of blockquote (with lists, blocks etc) #75

pradyunsg opened this issue Oct 9, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pradyunsg
Copy link

pradyunsg commented Oct 9, 2023

When writing reST, it is fairly easy to "silently" make a mistake in indentation that results in a blockquote being inserted in a list entry, especially when using nested lists. This would be similar to the check_bad_dedent case (whose example also involves creation of a blockquote).

@pradyunsg
Copy link
Author

pradyunsg commented Oct 9, 2023

A few examples of this sort of mistake can be found in python/devguide#1178.

@ezio-melotti ezio-melotti self-assigned this Oct 9, 2023
@ezio-melotti ezio-melotti added the enhancement New feature or request label Oct 9, 2023
@ezio-melotti
Copy link
Collaborator

I'm working on a new checker that I used to fix a bunch of these errors in the following issues (and linked PRs):

I will submit a PR once it's ready.

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

No branches or pull requests

2 participants