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

Isolate typing testing dependencies and upgrade to mypy 0.910 #1131

Merged
merged 2 commits into from
Aug 30, 2021

Conversation

neiljp
Copy link
Collaborator

@neiljp neiljp commented Aug 25, 2021

What does this PR do?

This is essentially an upgrade to mypy 0.910.

However, from ~0.901, type annotations for libraries not in the standard library are expected to be pulled in externally. For this reason a separate extra is added to setup.py for use by CI when running mypy (first commit) and to group the dependencies together in the second commit when mypy is upgraded.

NOTE: I've provisionally used a [dev] in the commit area to indicate this is a dev-only change, which we can discuss.

Tested?

  • Manually
  • Passed linting & tests (each commit)

@neiljp neiljp added the area: infrastructure Project infrastructure label Aug 25, 2021
@zulipbot zulipbot added the size: S [Automatic label added by zulipbot] label Aug 25, 2021
@neiljp neiljp force-pushed the 2021-08-25-mypy-0.910 branch from 0cdbc17 to 3a600e3 Compare August 30, 2021 22:51
@neiljp neiljp added this to the Next Release milestone Aug 30, 2021
@neiljp neiljp merged commit fc80aa7 into zulip:main Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Project infrastructure size: S [Automatic label added by zulipbot]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants