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

Be strict about handler.init() return values #2008

Merged
merged 5 commits into from
Apr 17, 2023
Merged

Conversation

corranwebster
Copy link
Contributor

Switches a warning to a ValueError. This may break downstream code, but warnings have been in place for a while now.

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

This may break downstream code, but we have been warning about this for a
while.  Eventually we will probably want to change this use the truthyness
of the return value from init()
Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

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

LGTM

@corranwebster corranwebster merged commit b58062b into main Apr 17, 2023
19 checks passed
@corranwebster corranwebster deleted the enh/stricter-ui-init branch April 17, 2023 10:51
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.

None yet

2 participants