-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Typing for tests 1/n #6313
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
Typing for tests 1/n #6313
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6313 +/- ##
======================================
- Coverage 94% 94% -0%
======================================
Files 161 161
Lines 11495 11495
======================================
- Hits 10781 10751 -30
- Misses 714 744 +30 |
|
I don't see the point of annotating tests, we will never check them with mypy and if they didn't work they would fail... Our efforts would be better spent annotating the codebase or fixing stuff |
ok, I agree that there is no point in adding more typing, just found it easier to read the test, and anyway we need to refactor our testing... |
tchaton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
What does this PR do?
add typing for test parameterization so it is easier to read and validate paraeters
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃