huggingface_hub
Update mypy to 1.15.0 (current latest)
#3095
Merged

Update mypy to 1.15.0 (current latest) #3095

Wauplin merged 4 commits into main from update-mypy
Wauplin
Wauplin25 days ago

For the record, mypy version is pinned to avoid unexpectedly breaking the CI on an update. But it has been quite some time now that we haven't updated it manually so let's do it (also, I need typing.Unpack for another PR which current mypy complains about).

Since 1.15.0 does not support Python 3.8 anymore, I pinned the version to the latest available (1.14.1). No big deal anyway, we will surely remove Python 3.8 soon-ish.

Wauplin Update mypy to 1.15.0 (current latest)
5b1fc012
Wauplin fix
380d40fd
Wauplin fix
80f2820e
Wauplin Wauplin requested a review from hanouticelina hanouticelina 25 days ago
HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev25 days ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

julien-c
julien-c25 days ago
Wauplin
Wauplin25 days ago

no switch to https://github.com/astral-sh/ty?

Got lazy when I saw the 113 errors... 😕

(but yeah would be good, it's so fast!)

Wauplin no need of these rules
7560526a
hanouticelina
hanouticelina approved these changes on 2025-05-21
hanouticelina24 days ago

thank you!

Wauplin
Wauplin24 days ago

Merging this one right now.

I'd wait for a bit before switching to https://github.com/astral-sh/ty. We would have quite a lot of changes to make so I'd prefer to do it once ty is at least in beta version (currently v0.0.1a6).

Wauplin Wauplin merged 5c3efe3f into main 24 days ago
Wauplin Wauplin deleted the update-mypy branch 24 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone