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

reportIncompatibleMethodOverride #802

Merged
merged 5 commits into from
Oct 24, 2023
Merged

Conversation

twoertwein
Copy link
Member

Compatibility with new pyright. Mostly:

  • added ignores when mypy had ignores
  • removed methods in child classes when they seem to be covered by the parent class (those might need double-checking)

@twoertwein twoertwein requested a review from Dr-Irv October 21, 2023 02:36
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

Thanks for this PR. The pyright changes were as a result of microsoft/pyright#6158 addressed in PR microsoft/pyright#6159

In #801 I asked to have pyright pinned to 1.1.331, but with your fix, we can remove that pinning, so can you now update to >= 1.1.332 in pyproject.toml ?

Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

Thanks @twoertwein . This was a big change that I wasn't looking forward to investigating

@Dr-Irv Dr-Irv merged commit 9aac8e3 into pandas-dev:main Oct 24, 2023
10 checks passed
@twoertwein twoertwein deleted the pyright branch February 10, 2024 20:30
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