Quellcode durchsuchen

Fix mypy type errors in bitmap code, move imports

Jelmer Vernooij vor 2 Monaten
Ursprung
Commit
92aa624d28
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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: