Skip to content

Commit b486e73

Browse files
committed
ruff
1 parent ffc90ed commit b486e73

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

python/selfie-lib/selfie_lib/CacheSelfie.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,23 @@ def cache_selfie(
3333
else:
3434
raise TypeError("Invalid arguments provided to cache_selfie")
3535

36+
3637
def cache_selfie_json(to_cache: Callable[..., T]) -> "CacheSelfie[T]":
3738
return cache_selfie(to_cache, Roundtrip.json())
3839

40+
3941
@overload
40-
def cache_selfie_binary(to_cache: Callable[..., bytes]) -> "CacheSelfieBinary[bytes]": ...
42+
def cache_selfie_binary(
43+
to_cache: Callable[..., bytes],
44+
) -> "CacheSelfieBinary[bytes]": ...
45+
4146

4247
@overload
4348
def cache_selfie_binary(
4449
to_cache: Callable[..., T], roundtrip: Roundtrip[T, bytes]
4550
) -> "CacheSelfieBinary[T]": ...
4651

52+
4753
def cache_selfie_binary(
4854
to_cache: Union[Callable[..., bytes], Callable[..., T]],
4955
roundtrip: Optional[Roundtrip[T, bytes]] = None,
@@ -57,6 +63,7 @@ def cache_selfie_binary(
5763
else:
5864
raise TypeError("Invalid arguments provided to cache_selfie")
5965

66+
6067
class CacheSelfie(Generic[T]):
6168
def __init__(
6269
self,

0 commit comments

Comments
 (0)