Explorar o código

Fix mypy type errors in bitmap code, move imports

Jelmer Vernooij hai 2 meses
pai
achega
92aa624d28
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/bitmap.py

+ 1 - 1
dulwich/bitmap.py

@@ -1145,7 +1145,7 @@ def generate_bitmap(
 
 def find_commit_bitmaps(
     commit_shas: set[bytes], packs: Iterable[Pack]
-) -> dict[bytes, tuple]:
+) -> dict[bytes, tuple["Pack", "PackBitmap", dict[bytes, int]]]:
     """Find which packs have bitmaps for the given commits.
 
     Args: