Skip to content

Fix Unpin rstcheck #2383

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

ganeshhubale
Copy link
Contributor

@ganeshhubale ganeshhubale commented Jan 29, 2025

Fixed #1710

Discussion for reference - #2344

Signed-off-by: Ganesh Hubale <ganeshhubale03@gmail.com>
@ganeshhubale ganeshhubale changed the title [WIP] Fix Unpin rstcheck Fix Unpin rstcheck Jan 29, 2025
@mattclay
Copy link
Member

mattclay commented Feb 4, 2025

@oraNod Since I'm not actively involved in the docs repo maintenance, I'll leave the review to those who are.

@mattclay mattclay removed their request for review February 4, 2025 17:47
@oraNod
Copy link
Contributor

oraNod commented Feb 4, 2025

@oraNod Since I'm not actively involved in the docs repo maintenance, I'll leave the review to those who are.

fair enough! I thought it might be appropriate to highlight. thanks for letting us know.

)

# Run the checks
exit_code = runner.run()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One problem with runner.run() is that it prints messages in a slightly different format. First, it prints a general success/failure message that's not of the expected format. Then, it uses the format FILE:LINE: MSG instead of FILE:LINE:COL: MSG.

It might be better to simply run runner.check() and handle what runner.print_result() does here.

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

Successfully merging this pull request may close these issues.

Unpin rstcheck
4 participants