Skip to content

Commit

Permalink
mypy ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 23, 2023
1 parent fa484a9 commit aac05c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlite_utils/utils.py
Expand Up @@ -17,9 +17,9 @@

for module in db_modules:
try:
sqlite3 = __import__(module)
dbapi2 = __import__("{}.dbapi2".format(module))
OperationalError = dbapi2.OperationalError
sqlite3 = __import__(module) # type: ignore
dbapi2 = __import__("{}.dbapi2".format(module)) # type: ignore
OperationalError = dbapi2.OperationalError # type: ignore
break
except ImportError:
pass
Expand Down

1 comment on commit aac05c3

@simonw
Copy link
Owner Author

@simonw simonw commented on aac05c3 Jun 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refs #559

Please sign in to comment.