Skip to content

Conversation

Spider84pr
Copy link
Contributor

Helllo

I want to work on annotating html5lib, in this PR I have added annotations for several functions in html5lib/htmll5parser.py

Also I have a question about getPhases function in this file - it doesnt exists in current version of html5lib - maybe we need remove thiis stub?

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
Copy link
Collaborator

srittau commented Oct 13, 2025

Also I have a question about getPhases function in this file - it doesnt exists in current version of html5lib - maybe we need remove thiis stub?

Good catch. It was removed in html5lib/html5lib-python#567. That said, there have been no releases with this change yet (https://pypi.org/project/html5lib/#history) so we should keep the function for now.

@srittau srittau merged commit 7f2d948 into python:main Oct 13, 2025
48 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.

2 participants