Skip to content

Commit

Permalink
fix blake3
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Dec 13, 2023
1 parent 97a135b commit b86d2bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ files = ["src", "tests"]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"blake3",
"fsspec.*",
"funcy",
"diskcache",
Expand Down
2 changes: 1 addition & 1 deletion src/dvc_data/hashfile/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_hasher(name: str) -> "hashlib._Hash":
if name == "blake3":
from blake3 import blake3

return blake3(max_threads=blake3.AUTO)
return blake3(max_threads=blake3.AUTO) # type: ignore[return-value]
if name == "md5-dos2unix":
name = "md5"

Expand Down

0 comments on commit b86d2bc

Please sign in to comment.