Skip to content

Commit 35f8e9b

Browse files
committed
ignore 2.7 imports when checking
1 parent 2660812 commit 35f8e9b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sentry_sdk/integrations/aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
try:
66
from urllib.parse import parse_qsl
77
except ImportError:
8-
from urlparse import parse_qsl
8+
from urlparse import parse_qsl # type: ignore
99

1010
from sentry_sdk.api import continue_trace
1111
from sentry_sdk._compat import reraise

sentry_sdk/integrations/httpx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
try:
44
from urllib.parse import parse_qsl
55
except ImportError:
6-
from urlparse import parse_qsl
6+
from urlparse import parse_qsl # type: ignore
77

88
from sentry_sdk import Hub
99
from sentry_sdk.consts import OP, SPANDATA

sentry_sdk/integrations/stdlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
try:
88
from urllib.parse import parse_qsl
99
except ImportError:
10-
from urlparse import parse_qsl
10+
from urlparse import parse_qsl # type: ignore
1111

1212
from sentry_sdk.consts import OP, SPANDATA
1313
from sentry_sdk.hub import Hub

0 commit comments

Comments
 (0)