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

Allow for more tolerant comment parsing #183

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

r-richardson
Copy link
Contributor

Make comment parser more tolerant by allowing non-printable characters such as e.g. carriage returns, as well as preceding and trailing comment text

Related issue: https://progress.opensuse.org/issues/167836

@r-richardson r-richardson force-pushed the improve_tag_parser_167836 branch from bb39826 to 381deac Compare October 15, 2024 10:19
openqabot/approver.py Outdated Show resolved Hide resolved
@r-richardson r-richardson force-pushed the improve_tag_parser_167836 branch from 381deac to 9f829ab Compare October 15, 2024 10:39
Copy link
Contributor

@Martchus Martchus left a comment

Choose a reason for hiding this comment

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

I guess this change will do it. It looks like you'll have to fix (or explicitly silence) the pylint errors.

@r-richardson
Copy link
Contributor Author

I guess this change will do it. It looks like you'll have to fix (or explicitly silence) the pylint errors.

yes i'm looking into it though i am a little confused as these pylint errors do not seem to be related to my changes.

@baierjan
Copy link
Member

I guess this change will do it. It looks like you'll have to fix (or explicitly silence) the pylint errors.

yes i'm looking into it though i am a little confused as these pylint errors do not seem to be related to my changes.

It could just be that a newer pylint version is not happy with some old code.

Make comment parser more tolerant by allowing non-printable characters
such as e.g. carriage returns, as well as preceding and trailing comment text

Related issue: https://progress.opensuse.org/issues/167836
@r-richardson r-richardson force-pushed the improve_tag_parser_167836 branch from 9f829ab to e43f39c Compare October 15, 2024 12:36
@mergify mergify bot merged commit 0eef4a4 into openSUSE:master Oct 15, 2024
3 checks passed
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.

4 participants