Skip to content

Fix issues identified by mypy.#6

Merged
mattsb42-aws merged 4 commits intoaws:masterfrom
mattsb42-aws:mypy
Jun 12, 2018
Merged

Fix issues identified by mypy.#6
mattsb42-aws merged 4 commits intoaws:masterfrom
mattsb42-aws:mypy

Conversation

@mattsb42-aws
Copy link
Member

@mattsb42-aws mattsb42-aws commented Jun 7, 2018

Description of changes:
Some minor mypy annotation tweaks to correctly describe behavior.

In running through the mypy results, however, it identified that there were a couple subtle issues with two methods:

CI run. Note: the py33 and py37 runs are broken in the Travis config. A fix for that is in #7 .

https://travis-ci.org/mattsb42-aws/base64io-python/builds/389402410

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mattsb42-aws mattsb42-aws requested a review from a team June 7, 2018 20:00
@mattsb42-aws mattsb42-aws mentioned this pull request Jun 7, 2018

# exact single-shot, varying multiples
for size in (1, 2, 3, 4, 5, 6, 7, 222, 1024):
for size in (0, 1, 2, 3, 4, 5, 6, 7, 222, 1024):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per offline discussion, reminder to add negative (non--1) value to test_cases.

Also: can these be combined to some degree with the values on 139-140?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mattsb42-aws
Copy link
Member Author

@mattsb42-aws mattsb42-aws merged commit e25539c into aws:master Jun 12, 2018
@mattsb42-aws mattsb42-aws deleted the mypy branch June 12, 2018 00:45
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