Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements-linting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ loguru # There is no separate types module.
flake8-bugbear
pep8-naming
pre-commit # local linting
httpcore
3 changes: 2 additions & 1 deletion sentry_sdk/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from typing import Optional
from typing import Set
from typing import Type
from typing import Union


_DEFAULT_FAILED_REQUEST_STATUS_CODES = frozenset(range(500, 600))
Expand Down Expand Up @@ -124,7 +125,7 @@ def setup_integrations(
with_auto_enabling_integrations=False,
disabled_integrations=None,
):
# type: (Sequence[Integration], bool, bool, Optional[Sequence[Integration]]) -> Dict[str, Integration]
# type: (Sequence[Integration], bool, bool, Optional[Sequence[Union[type, Integration]]]) -> Dict[str, Integration]
"""
Given a list of integration instances, this installs them all.

Expand Down
Loading