@@ -495,9 +495,8 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
495495if mode in quiet :
496496pass
497497elif mode in warn or mode in error :
498- err = (
499- dedent (
500- """\
498+ err = dedent (
499+ """\
501500 %s
502501 All git commands will error until this is rectified.
503502
@@ -510,40 +509,35 @@ def refresh(cls, path: Union[None, PathLike] = None) -> bool:
510509 Example:
511510 export %s=%s
512511 """
513- )
514- % (
515- err ,
516- cls ._refresh_env_var ,
517- "|" .join (quiet ),
518- "|" .join (warn ),
519- "|" .join (error ),
520- cls ._refresh_env_var ,
521- quiet [0 ],
522- )
512+ )% (
513+ err ,
514+ cls ._refresh_env_var ,
515+ "|" .join (quiet ),
516+ "|" .join (warn ),
517+ "|" .join (error ),
518+ cls ._refresh_env_var ,
519+ quiet [0 ],
523520 )
524521
525522if mode in warn :
526523_logger .critical (err )
527524else :
528525raise ImportError (err )
529526else :
530- err = (
531- dedent (
532- """\
527+ err = dedent (
528+ """\
533529 %s environment variable has been set but it has been set with an invalid value.
534530
535531 Use only the following values:
536532 - %s: for no message or exception
537533 - %s: for a warning message (logging level CRITICAL, displayed by default)
538534 - %s: for a raised exception
539535 """
540- )
541- % (
542- cls ._refresh_env_var ,
543- "|" .join (quiet ),
544- "|" .join (warn ),
545- "|" .join (error ),
546- )
536+ )% (
537+ cls ._refresh_env_var ,
538+ "|" .join (quiet ),
539+ "|" .join (warn ),
540+ "|" .join (error ),
547541 )
548542raise ImportError (err )
549543
@@ -565,13 +559,11 @@ def is_cygwin(cls) -> bool:
565559
566560@overload
567561@classmethod
568- def polish_url (cls ,url :str ,is_cygwin :Literal [False ]= ...)-> str :
569- ...
562+ def polish_url (cls ,url :str ,is_cygwin :Literal [False ]= ...)-> str : ...
570563
571564@overload
572565@classmethod
573- def polish_url (cls ,url :str ,is_cygwin :Union [None ,bool ]= None )-> str :
574- ...
566+ def polish_url (cls ,url :str ,is_cygwin :Union [None ,bool ]= None )-> str : ...
575567
576568@classmethod
577569def polish_url (cls ,url :str ,is_cygwin :Union [None ,bool ]= None )-> PathLike :
@@ -932,8 +924,7 @@ def execute(
932924command :Union [str ,Sequence [Any ]],
933925* ,
934926as_process :Literal [True ],
935- )-> "AutoInterrupt" :
936- ...
927+ )-> "AutoInterrupt" : ...
937928
938929@overload
939930def execute (
@@ -942,8 +933,7 @@ def execute(
942933* ,
943934as_process :Literal [False ]= False ,
944935stdout_as_string :Literal [True ],
945- )-> Union [str ,Tuple [int ,str ,str ]]:
946- ...
936+ )-> Union [str ,Tuple [int ,str ,str ]]: ...
947937
948938@overload
949939def execute (
@@ -952,8 +942,7 @@ def execute(
952942* ,
953943as_process :Literal [False ]= False ,
954944stdout_as_string :Literal [False ]= False ,
955- )-> Union [bytes ,Tuple [int ,bytes ,str ]]:
956- ...
945+ )-> Union [bytes ,Tuple [int ,bytes ,str ]]: ...
957946
958947@overload
959948def execute (
@@ -963,8 +952,7 @@ def execute(
963952with_extended_output :Literal [False ],
964953as_process :Literal [False ],
965954stdout_as_string :Literal [True ],
966- )-> str :
967- ...
955+ )-> str : ...
968956
969957@overload
970958def execute (
@@ -974,8 +962,7 @@ def execute(
974962with_extended_output :Literal [False ],
975963as_process :Literal [False ],
976964stdout_as_string :Literal [False ],
977- )-> bytes :
978- ...
965+ )-> bytes : ...
979966
980967def execute (
981968self ,
@@ -1387,8 +1374,9 @@ def __call__(self, **kwargs: Any) -> "Git":
13871374return self
13881375
13891376@overload
1390- def _call_process (self ,method :str ,* args :None ,** kwargs :None )-> str :
1391- ...# If no args were given, execute the call with all defaults.
1377+ def _call_process (
1378+ self ,method :str ,* args :None ,** kwargs :None
1379+ )-> str : ...# If no args were given, execute the call with all defaults.
13921380
13931381@overload
13941382def _call_process (
@@ -1398,14 +1386,12 @@ def _call_process(
13981386as_process :Literal [True ],
13991387* args :Any ,
14001388** kwargs :Any ,
1401- )-> "Git.AutoInterrupt" :
1402- ...
1389+ )-> "Git.AutoInterrupt" : ...
14031390
14041391@overload
14051392def _call_process (
14061393self ,method :str ,* args :Any ,** kwargs :Any
1407- )-> Union [str ,bytes ,Tuple [int ,Union [str ,bytes ],str ],"Git.AutoInterrupt" ]:
1408- ...
1394+ )-> Union [str ,bytes ,Tuple [int ,Union [str ,bytes ],str ],"Git.AutoInterrupt" ]: ...
14091395
14101396def _call_process (
14111397self ,method :str ,* args :Any ,** kwargs :Any