Skip to content

Use modern type hinting - #609

Merged
LilianBoulard merged 3 commits into
skrub-data:mainfrom
LilianBoulard:update_type_hints
Jun 16, 2023
Merged

LilianBoulard merged 3 commits into
skrub-data:mainfrom
LilianBoulard:update_type_hints

Conversation

@LilianBoulard

Copy link
Copy Markdown
Member

Following #606, we can now use PEP 585 type hints, which should simplify the code quite a bit.

@LilianBoulard LilianBoulard added the enhancement New feature or request label Jun 15, 2023
@LilianBoulard LilianBoulard self-assigned this Jun 15, 2023

@GaelVaroquaux GaelVaroquaux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

I have no love for reviewing such PRs that do many small changes on plenty of pages.

@GaelVaroquaux

Copy link
Copy Markdown
Member

There are conflicts to be resolved

@Vincent-Maladiere Vincent-Maladiere left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM after resolving conflicts. Thanks for keeping up with the PEP standards; this improves readability.

@LilianBoulard
LilianBoulard merged commit dc77f61 into skrub-data:main Jun 16, 2023
@LilianBoulard
LilianBoulard deleted the update_type_hints branch June 16, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants