Skip to content

Conversation

@yonigozlan
Copy link
Member

What does this PR do?

Use AST instead of parsing the raw code to check for missing args in docstrings of class/functions using auto_docstring

@yonigozlan yonigozlan changed the title [WIP] Refactor check_auto_docstring using AST Refactor check_auto_docstring using AST Oct 31, 2025
@HuggingFaceDocBuilderDev

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.

@yonigozlan
Copy link
Member Author

@ArthurZucker @Cyrilvallez Ready to be reviewed ;)

Copy link
Member

@Cyrilvallez Cyrilvallez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly trusting you on this, but <ci is not happy!

@yonigozlan
Copy link
Member Author

Thanks @Cyrilvallez , it should be good now!

@github-actions
Copy link
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: glm4v, glm4v_moe

@yonigozlan yonigozlan requested review from Cyrilvallez and removed request for ArthurZucker November 11, 2025 16:30
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please the glm4 has been annoying haha. I think if CI is happy its enough of a test !

@yonigozlan yonigozlan merged commit 8976ceb into huggingface:main Nov 14, 2025
17 checks passed
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.

4 participants