You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* doc: Add a basic example
Basic usage, mostly taken from the API docs.
Refs getsentry#386.
* fix: Don't dynamically compute __all__, to help mypy understand it
sentry_sdk/__init__.py imports * from sentry_sdk.api. Mypy can't
understand the `@public` trick in sentry_sdk.api, so it thinks that
sentry_sdk.api's __all__ is [], so given code like this
import sentry_sdk
sentry_sdk.capture_message("Something went wrong!")
mypy complains
Help it by not using the `@public` trick.
Fixesgetsentry#386.
* fix: Avoid incorrect warning in some case in Hub.get_integration(<class>)
The type initial_client.integrations is Dict[str, something] so the
integration name should be used in this check.
* feat: Improve type annotations
Enable some more strict mypy options and deal with the fallout.
* wip
* fix: Fix remaining linter errors
* fix: Remove usage of ellipsis for Python 2
0 commit comments