Skip to content

Commit

Permalink
Remove unused type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
karpetrosyan committed Oct 25, 2023
1 parent bd7943e commit a4d177e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hishel/_async/_storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class AsyncSQLiteStorage(AsyncBaseStorage):
def __init__(
self,
serializer: tp.Optional[BaseSerializer] = None,
connection: tp.Optional["anysqlite.Connection"] = None, # type: ignore
connection: tp.Optional["anysqlite.Connection"] = None,
ttl: tp.Optional[int] = None,
) -> None:
if anysqlite is None: # pragma: no cover
Expand Down
2 changes: 1 addition & 1 deletion hishel/_sync/_storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class SQLiteStorage(BaseStorage):
def __init__(
self,
serializer: tp.Optional[BaseSerializer] = None,
connection: tp.Optional["sqlite3.Connection"] = None, # type: ignore
connection: tp.Optional["sqlite3.Connection"] = None,
ttl: tp.Optional[int] = None,
) -> None:
if sqlite3 is None: # pragma: no cover
Expand Down

0 comments on commit a4d177e

Please sign in to comment.