mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-12 11:34:09 +02:00
mypy ignore
This commit is contained in:
parent
fa484a9958
commit
aac05c31c7
1 changed files with 3 additions and 3 deletions
|
|
@ -17,9 +17,9 @@ db_modules = ("pysqlite3", "sqlean", "sqlite3")
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue