Skip to content

TYP/DOC: add HTMLFlavors type to read_html and related #55529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2023
Merged

TYP/DOC: add HTMLFlavors type to read_html and related #55529

merged 1 commit into from
Oct 16, 2023

Conversation

matheusfelipeog
Copy link
Contributor

@mroeschke mroeschke added IO HTML read_html, to_html, Styler.apply, Styler.applymap Typing type annotations, mypy/pyright type checking labels Oct 16, 2023
@mroeschke mroeschke added this to the 2.2 milestone Oct 16, 2023
@mroeschke mroeschke merged commit 5bfb41f into pandas-dev:main Oct 16, 2023
@mroeschke
Copy link
Member

Thanks @matheusfelipeog

@matheusfelipeog matheusfelipeog deleted the typ/add-html-flavors branch November 2, 2023 03:53
Dr-Irv pushed a commit to pandas-dev/pandas-stubs that referenced this pull request Nov 2, 2023
* Fix flavor param with incorrect type hint in read_html

refs:
- pandas-dev/pandas#55059
- pandas-dev/pandas#55076

* Add HTMLFlavors type to read_html

ref: pandas-dev/pandas#55529

* Add tests and new dev dependencies

Added:
- tests to check HTMLFlavors type in read_html flavor arg;
- set beautifulsoup4 and html5lib as dev dependencies. They are used
by the respective flavors in read_html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HTML read_html, to_html, Styler.apply, Styler.applymap Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants