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

Update mypy #67

Closed
Cito opened this issue Nov 24, 2019 · 1 comment
Closed

Update mypy #67

Cito opened this issue Nov 24, 2019 · 1 comment
Assignees
Labels
modernization Update dependencies etc.
Milestone

Comments

@Cito
Copy link
Member

Cito commented Nov 24, 2019

Currently we use mypy 0.720 because it is the last version that supports the "old" semantic analyzer.

The new semantic analyzer creates a few errors that need to be resolved. Some of these errors are actually mypy issues, like python/mypy#7203. Maybe we should wait until these mypy issues are resolved.

After upgrading to a newer mypy version, the setting "new_semantic_analyzer = False" in mypy.ini should be removed.

@Cito Cito added the modernization Update dependencies etc. label Nov 24, 2019
@Cito Cito added this to the v3.0 milestone Nov 24, 2019
@Cito Cito self-assigned this Nov 24, 2019
@Cito
Copy link
Member Author

Cito commented Nov 30, 2019

mypy version 0.740 caused even more problems than 0.730, but 0.750 seems to be fine. The python/mypy#7203 issue is not yet solved, but there is a good enough workaround that we can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modernization Update dependencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant