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

Handle mypy versions >= 0.981 #73

Closed
wants to merge 1 commit into from
Closed

Handle mypy versions >= 0.981 #73

wants to merge 1 commit into from

Conversation

markelliot
Copy link

Fixes #68.

In python/mypy#13399, which first appears in mypy release 0.981, the signature of mypy.main.main() changes to be incompatible with older versions of mypy. In this PR, we introspect the version and use a compatible function signature when it's greater than or equal to 0.981.

@markelliot
Copy link
Author

Ah looks like #72 already addressed this

@markelliot markelliot closed this Dec 12, 2022
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.

mypy-0.981 errors
1 participant