Skip to content

enh: fixed some Python types and Dicts#14

Merged
pavelfeldman merged 1 commit intomicrosoft:masterfrom
mxschmitt:types/iteration-1
Jul 8, 2020
Merged

enh: fixed some Python types and Dicts#14
pavelfeldman merged 1 commit intomicrosoft:masterfrom
mxschmitt:types/iteration-1

Conversation

@mxschmitt
Copy link
Copy Markdown
Contributor

Fixes #3

Changes:

  • added these if TYPE_CHECKING conditions to fix circular imports and by that types which were not resolved
  • added mypy to the local dependencies and readme to check for typing issues. Currently we have quite a lot of errors (around 40) would be nice to fix them and enforce it in the end on the CI

Tested on Python 3.7.7 and 3.8.2, works. Should I add 3.7 also to our testing matrix in the CI?

@pavelfeldman pavelfeldman merged commit 5876497 into microsoft:master Jul 8, 2020
@pavelfeldman
Copy link
Copy Markdown
Member

A bot for 3.7 would be nice, yes!

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.

Feature: support Python 3.7+ with typing extensions (interested in TypedDict)

2 participants