@@ -749,7 +749,7 @@ class CatFileContentStream:
749749 rest to ensure the underlying stream continues to work.
750750 """
751751
752- __slots__ : Tuple [ str , ...] = ("_stream" ,"_nbr" ,"_size" )
752+ __slots__ = ("_stream" ,"_nbr" ,"_size" )
753753
754754def __init__ (self ,size :int ,stream :IO [bytes ])-> None :
755755self ._stream = stream
@@ -846,14 +846,14 @@ def __del__(self) -> None:
846846self ._stream .read (bytes_left + 1 )
847847# END handle incomplete read
848848
849- def __init__ (self ,working_dir :Union [None ,PathLike ]= None ):
849+ def __init__ (self ,working_dir :Union [None ,PathLike ]= None )-> None :
850850"""Initialize this instance with:
851851
852852 :param working_dir:
853- Git directory we should work in. If ``None``, we always work in the current
854- directory as returned by :func:`os.getcwd`.
855- This is meant to be the working tree directory if available, or the
856- ``.git`` directory in case of bare repositories.
853+ Git directory we should work in. If ``None``, we always work in the current
854+ directory as returned by :func:`os.getcwd`.
855+ This is meant to be the working tree directory if available, or the
856+ ``.git`` directory in case of bare repositories.
857857 """
858858super ().__init__ ()
859859self ._working_dir = expand_path (working_dir )
@@ -1103,8 +1103,8 @@ def execute(
11031103 :raise git.exc.GitCommandError:
11041104
11051105 :note:
1106- If you add additional keyword arguments to the signature of this method,
1107- you must update the ``execute_kwargs`` variable housed in this module.
1106+ If you add additional keyword arguments to the signature of this method, you
1107+ must update the ``execute_kwargs`` variable housed in this module.
11081108 """
11091109# Remove password for the command if present.
11101110redacted_command = remove_password_if_present (command )
@@ -1438,7 +1438,7 @@ def _call_process(
14381438
14391439 turns into::
14401440
1441- git rev-list max-count 10 --header master
1441+ git rev-list max-count 10 --header master
14421442
14431443 :return:
14441444 Same as :meth:`execute`. If no args are given, used :meth:`execute`'s