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

Fix MegaPatch.megainstance typing for PyCharm #127

Merged
merged 4 commits into from
Jan 28, 2024

Conversation

JamesHutchison
Copy link
Owner

Continuation of the solution used in #125 where type hinting is provided but no_type_check decorator is used to disable mypy complaining about union usage.

As with before, having an intersection type in Python would be a better solution.

@JamesHutchison JamesHutchison merged commit a4bed5d into main Jan 28, 2024
3 checks passed
@JamesHutchison JamesHutchison deleted the megapatch-pycharm-typing branch January 28, 2024 15:26
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.

1 participant