Skip to content

Fix mypy hinting of toplevel sentry_sdk module #892

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

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Fix mypy hinting of toplevel sentry_sdk module #892

merged 1 commit into from
Oct 27, 2020

Conversation

intgr
Copy link
Contributor

@intgr intgr commented Oct 26, 2020

Mypy does not support runtime-calculated __all__, so duplicate symbols
from sentry_sdk.api.__all__ to top-level __init__.py.

Fixes #375.

Tested with mypy 0.790.

@intgr intgr mentioned this pull request Oct 26, 2020
Mypy does not support runtime-calculated __all__, so duplicate symbols
from sentry_sdk.api.__all__ to top-level __init__.py.

Tested with mypy 0.790.
@intgr intgr requested a review from untitaker October 27, 2020 14:16
@intgr
Copy link
Contributor Author

intgr commented Oct 27, 2020

Updated per comments.

@untitaker untitaker merged commit e6a2c91 into getsentry:master Oct 27, 2020
@untitaker
Copy link
Member

Thanks!

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.

Add PEP 561 support
2 participants