Skip to content
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

Add conditional overloads [TreeRebuilder] #1470

Merged
merged 4 commits into from
Mar 12, 2022

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Mar 12, 2022

Description

Mypy 0.940 finally includes conditional overload which allow us to clean up the TreeRebuilder overloads.

I've waited since last June for this when I first opened the mypy PR. python/mypy#10712
https://mypy.readthedocs.io/en/stable/more_types.html#conditional-overloads

/CC: @Pierre-Sassoulas @DanielNoord

@cdce8p cdce8p added the Maintenance Discussion or action around maintaining astroid or the dev workflow label Mar 12, 2022
@cdce8p cdce8p added this to the 2.11.0 milestone Mar 12, 2022
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

That's a very nice cleanup ! I'm going to trust you blindly regarding the minute detail though 😄

Should we rebase or squash ?

@cdce8p cdce8p merged commit daf4540 into pylint-dev:main Mar 12, 2022
@cdce8p cdce8p deleted the conditional-overloads branch March 12, 2022 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants