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

Typing: tell mypy we have type, update __all__. #713

Merged
merged 1 commit into from
May 1, 2022

Conversation

Carreau
Copy link
Member

@Carreau Carreau commented Apr 23, 2022

Without the empty file py.typed mypy is unsure it should follow type
annotation on projects that depends on traitlets.

Once added it looks in all and says that things like Unicode, Bool,
are not supposed to exists, as not in all

Without the empty file py.typed mypy is unsure it should follow type
annotation on projects that depends on traitlets.

Once added it looks in __all__ and says that things like Unicode, Bool,
are not supposed to exists, as not in __all__
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Thanks!

@blink1073 blink1073 merged commit af957bc into ipython:main May 1, 2022
@blink1073 blink1073 mentioned this pull request May 1, 2022
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