Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Aug 8, 2021
1 parent 9656b42 commit fe7547d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 4 additions & 8 deletions aioredis/compat.py
@@ -1,12 +1,8 @@
import sys

if sys.version_info >= (3, 8):
from typing import (
Protocol as Protocol,
TypedDict as TypedDict,
)
from typing import Protocol, TypedDict
else:
from typing_extensions import (
Protocol as Protocol,
TypedDict as TypedDict,
)
from typing_extensions import Protocol, TypedDict

__all__ = ("Protocol", "TypedDict")
2 changes: 0 additions & 2 deletions aioredis/connection.py
Expand Up @@ -17,12 +17,10 @@
Iterable,
List,
Mapping,
NewType,
Optional,
Set,
Tuple,
Type,
TypedDict,
TypeVar,
Union,
)
Expand Down

0 comments on commit fe7547d

Please sign in to comment.