Просмотр исходного кода

Fix mypy type errors in bitmap code, move imports

Jelmer Vernooij 2 месяцев назад
Родитель
Сommit
92aa624d28
1 измененных файлов с 1 добавлено и 1 удалено
  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: