-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
url: fix premature loop termination, docstring cleanup & slight refactoring #2433
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.
Small nitpick here and there.
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.
Some Mostly nitpicks. When you've addressed these, go ahead and re-request review from both me and Exi.
url
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.
Just a side note, "doom and gloom" for the future of one url
plugin subfeature that I doubt gets much use (but we don't collect usage metrics, so who knows?)
Co-authored-by: Florian Strzelecki <[email protected]> Co-authored-by: dgw <[email protected]>
f2aba3d
to
2051f95
Compare
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.
I haven't tested this myself, however it looks sane to me.
Re: testing, I showed off on IRC that with this patch,
|
Description
This changeset resolves #2230 by dropping the incorrect information from the relevant docstrings, and also does some light refactoring of
title_auto(), process_urls()
for the sake of future maintenance. Also included is a fix for a bug discovered while writing this PR, where a URL matching a registered callback causes following URLs in the message to be ignored.Checklist
make qa
(runsmake quality
andmake test
)1426 passed, 8 xfailed, 1 warning in 52.07s