Skip to content

Conversation

@abrahammurciano
Copy link
Contributor

@abrahammurciano abrahammurciano commented Jan 18, 2026

I recently contributed the type stubs for the punq library, unfortunately I just noticed I missed the return type annotation on one of the overloads of the register function.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@abrahammurciano
Copy link
Contributor Author

@srittau Hi, could you please review? I had missed a single return type a few days ago (maybe it would be a good idea to check in CI if there are unannotated elements that aren't explicitly marked as incomplete?)

@abrahammurciano abrahammurciano changed the title add missing return type for punq.Container.register [punq] add missing return type for Container.register() Jan 19, 2026
Copy link
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

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

Thanks!

@srittau srittau merged commit a7e3fca into python:main Jan 19, 2026
48 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.

2 participants