Jelmer Vernooij 1 год назад
Родитель
Сommit
6261aa0e38
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      dulwich/pack.py

+ 3 - 3
dulwich/pack.py

@@ -109,7 +109,7 @@ PackHint = Tuple[int, Optional[bytes]]
 
 
 class UnresolvedDeltas(Exception):
-    """ "Delta objects could not be resolved."""
+    """Delta objects could not be resolved."""
 
     def __init__(self, shas):
         self.shas = shas
@@ -1914,9 +1914,9 @@ def pack_objects_to_data(
         return (
             count,
             deltify_pack_objects(
-                iter(objects), window_size=delta_window_size, progress=progress
+                iter(objects), window_size=delta_window_size, progress=progress  # type: ignore
             ),
-        )  # type: ignore
+        )
     else:
 
         def iter_without_path():