From 9f226fc47683038acd3304dd7d59be18984d3737 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 4 Mar 2024 19:38:10 -0500 Subject: [PATCH] Remove unneeded annotation on __slots__ variable The correct type is inferred, and no other __slots__ variable in the codebase has an annotation. --- git/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/cmd.py b/git/cmd.py index c7cec48d7..8550830aa 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -749,7 +749,7 @@ class CatFileContentStream: rest to ensure the underlying stream continues to work. """ - __slots__: Tuple[str, ...] = ("_stream", "_nbr", "_size") + __slots__ = ("_stream", "_nbr", "_size") def __init__(self, size: int, stream: IO[bytes]) -> None: self._stream = stream