Skip to content

Commit

Permalink
fix types for huggingface_hub
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Jan 28, 2025
1 parent bd31ec5 commit bd11c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/libapi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ filterwarnings = ["ignore::DeprecationWarning"]

[tool.mypy]
strict = true
# allow calling untyped methods in huggingface_hub (eg: DatasetInfo(...))
untyped_calls_exclude = "huggingface_hub"

[[tool.mypy.overrides]]
module = [
Expand Down

0 comments on commit bd11c81

Please sign in to comment.