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

Add mypy and update typings #39

Merged
merged 1 commit into from
Sep 20, 2019
Merged

Add mypy and update typings #39

merged 1 commit into from
Sep 20, 2019

Conversation

sloria
Copy link
Collaborator

@sloria sloria commented Sep 20, 2019

Since this package distributes types, it'd be good to ensure that they're correct. This adds mypy to the pre-commit config and updates type annotations to pass mypy's type checks.

@sloria sloria requested a review from lovasoa September 20, 2019 03:29
docs/conf.py Show resolved Hide resolved
@lovasoa
Copy link
Owner

lovasoa commented Sep 20, 2019

Great !

@karlb, you finally get correct types for this library :)

marshmallow_dataclass/__init__.py Outdated Show resolved Hide resolved
@karlb
Copy link
Contributor

karlb commented Sep 20, 2019

Cool, thanks!

@sloria
Copy link
Collaborator Author

sloria commented Sep 20, 2019

@lovasoa Shall I merge my own PRs after you approve or would you like to do that?

@lovasoa lovasoa merged commit 48ce440 into master Sep 20, 2019
@lovasoa lovasoa deleted the mypy branch September 20, 2019 15:11
@lovasoa
Copy link
Owner

lovasoa commented Sep 20, 2019

@sloria, you can merge your own PRs !

@sloria
Copy link
Collaborator Author

sloria commented Sep 20, 2019

OK, I'll squash and merge after your approval from now on.

I'll be responsive most days, but of course, no need to block on me--feel free to merge when it's practical.

@lovasoa
Copy link
Owner

lovasoa commented Sep 20, 2019

The same for me. Feel free to merge things if I'm not responsive.

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.

3 participants