-
Notifications
You must be signed in to change notification settings - Fork 657
setup.py: require pytest-runner only when necessary #633
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #633 +/- ##
==========================================
+ Coverage 61.48% 63.18% +1.7%
==========================================
Files 66 66
Lines 5888 5883 -5
==========================================
+ Hits 3620 3717 +97
+ Misses 2268 2166 -102 |
Codecov Report
@@ Coverage Diff @@
## develop #633 +/- ##
========================================
Coverage 63.14% 63.14%
========================================
Files 66 66
Lines 5904 5904
========================================
Hits 3728 3728
Misses 2176 2176 |
felixdivo
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.
This is cool, except that I would document it with the given link somewhere near needs_pytest.
|
Sure, no problem, I can update the PR accordingly ;) Thanks ! |
|
Updated :) |
|
Then thank you very much for your contribution! It seems like the black formatter is not yet completely convinced of the beauty of that code. If he is, we can merge this. ;) |
This optimizes setup.py for cases when pytest-runner is not needed, using the approach that is suggested upstream: https://pypi.python.org/pypi/pytest-runner#conditional-requirement
|
Doh, I will update ;) |
|
Seems Ok now :) |
|
@texierp Thanks for the contribution! 😄 |
This optimizes setup.py for cases when pytest-runner is not needed,
using the approach that is suggested upstream:
https://pypi.python.org/pypi/pytest-runner#conditional-requirement