-
Notifications
You must be signed in to change notification settings - Fork 659
Avoid all literal blocks without explicitly set language #2807
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @felixfontein
I've kicked off a run of the package docs build just to see. I'd also like to take a closer look at the source later today.
Can you also remind me... once this merges, we should be able to unpin rstcheck and carry on with this PR right?
Yes, hopefully... (until we hit other rstcheck bugs - I recently saw a similar issue due to some |
in retrospect maybe I didn't need to build package docs off this branch. hurts nothing though. build logs here.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @felixfontein
Backport to stable-2.19: 💚 backport PR created✅ Backport PR branch: Backported as #2814 🤖 @patchback |
@oraNod thanks for reviewing this! |
* Avoid code-blocks without language. * Adjust checker to catch such code blocks as well. (cherry picked from commit c047609)
* Avoid code-blocks without language. * Adjust checker to catch such code blocks as well. (cherry picked from commit c047609) Co-authored-by: Felix Fontein <[email protected]>
Fixes all literal blocks w/o language that are still around, and adjusts checker to flag these as well.