Skip to content

Commit fe98f95

Browse files
tonalclaude
andcommitted
fix(aiomysql): Fix mypy import-not-found on single line
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 7a646df commit fe98f95

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

sentry_sdk/integrations/aiomysql.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919

2020
try:
2121
import aiomysql # type: ignore[import-not-found]
22-
from aiomysql.connection import (
23-
Connection, # type: ignore[import-not-found]
24-
)
22+
from aiomysql.connection import Connection # type: ignore[import-not-found]
2523
from aiomysql.cursors import Cursor # type: ignore[import-not-found]
2624
except ImportError:
2725
raise DidNotEnable("aiomysql not installed.")

0 commit comments

Comments
 (0)