Skip to content

Commit

Permalink
mark typing imports as 'nocover'
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <[email protected]>
  • Loading branch information
seapagan committed Mar 24, 2024
1 parent 889cc9a commit d934663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastapi_redis_cache/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from fastapi_redis_cache.redis import redis_connect
from fastapi_redis_cache.util import serialize_json

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
from fastapi import Request, Response
from redis import client

Expand Down
2 changes: 1 addition & 1 deletion fastapi_redis_cache/key_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from fastapi_redis_cache.types import ArgType, SigParameters

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
from collections import OrderedDict

ALWAYS_IGNORE_ARG_TYPES = [Response, Request]
Expand Down

0 comments on commit d934663

Please sign in to comment.