Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Small improvements #27

Merged
merged 3 commits into from
Dec 28, 2019
Merged

Conversation

wchresta
Copy link
Collaborator

This merge request contains three small improvements:

  • Clean up some unused imports
  • Fix a typo in README (that I wasted more time on trying to find that I care to admit)
  • Add unit tests for the README examples and mypy plugin

While testing I found some issues with the mypy plugin. I created the test cases but deactivated them.

The unit test for the README code could probably be refactored into re-using the code in the README. I'm probably not going to get to it for a while, so I might just remove the README unit-test if you consider this to be a blocker. We can add it later when I (or someone else) has time.

If you don't like the idea of the issue-style unit-tests, I can create a merge request just for the README fix, instead.

* Add a small test to check if code in example is executable
* tests directory contains files that will not type-check
  deactivate type-checker for imports in tests/
* Add test cases for issues jspahrsummers#21, jspahrsummers#25, jspahrsummers#26
* Test case for jspahrsummers#21 is active because it passes with mypy==0.711
* Test cases for jspahrsummers#25 and jspahrsummers#26 are deactivated because they fail
@jspahrsummers jspahrsummers merged commit 6c16d02 into jspahrsummers:master Dec 28, 2019
jspahrsummers added a commit that referenced this pull request Dec 28, 2019
@jspahrsummers
Copy link
Owner

Thank you, this pull request is incredible! 🌟

@wchresta wchresta deleted the small_improvements branch December 28, 2019 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants