Commit Diff


commit - e3ca1cb5cee7841ce6b1918c91e83120abbc8996
commit + 6261aa0e38f5db2fc139d15c0f4bc62f18a890d7
blob - f05e388b95d8b16a436e359d7e40d548d4aa7775
blob + eb8f845560f16a77068e337c010920993e3c53f1
--- dulwich/pack.py
+++ 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():