Skip to content

Adds type checking to src/transformers/*py - #45415

Open
tarekziade wants to merge 7 commits into
mainfrom
tarekziade-typing-root
Open

tarekziade wants to merge 7 commits into
mainfrom
tarekziade-typing-root

Conversation

@tarekziade

Copy link
Copy Markdown
Collaborator

What does this PR do?

Adds type checking to src/transformers/*.py

@tarekziade tarekziade changed the title first pass by claude Adds type checking to src/transformers/*py Apr 13, 2026
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@tarekziade tarekziade self-assigned this Apr 13, 2026
@ArthurZucker

Copy link
Copy Markdown
Collaborator

@tarekziade this one has been waiting since 2026-04-13 (large rebase; never reviewed). Still planned, or should we close it?

@ArthurZucker

Copy link
Copy Markdown
Collaborator

Hey @tarekziade, since this was opened, ty adoption moved to the per-file allow-list in utils/check_types.py (#45425, #46278 and the follow-ups), and the pyproject rule added here is already on main. This 42-file diff now conflicts. Could you split what's left into the incremental per-file PRs, or close this if those already cover it?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants