瀏覽代碼

Fix mypy type errors in bitmap code, move imports

Jelmer Vernooij 2 月之前
父節點
當前提交
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: