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

Address mypy errors #89

Merged
merged 1 commit into from
May 20, 2020
Merged

Address mypy errors #89

merged 1 commit into from
May 20, 2020

Conversation

cbowdon
Copy link

@cbowdon cbowdon commented May 20, 2020

This addresses the type checking errors from #88. These are all situations where the type is potentially None but in practice the value will not be None.

Where possible I've corrected the inferred type, and otherwise I've protected with asserts if there is a guard elsewhere against None values.

I've run mypy and pytest - both succeed - but no more than that I'm afraid.

These are all situations where the type is potentially None but in
practice the value will not be None.

Where possible I've corrected the inferred type, and otherwise I've
protected with asserts if there is a guard elsewhere against None
values.
@barseghyanartur barseghyanartur merged commit 54fe32e into barseghyanartur:mypy May 20, 2020
@barseghyanartur
Copy link
Owner

Thank you!

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.

2 participants