Skip to content

Conversation

@texierp
Copy link
Contributor

@texierp texierp commented Jun 29, 2019

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

@felixdivo felixdivo added this to the 4.0 Release milestone Jul 1, 2019
@codecov
Copy link

codecov bot commented Jul 1, 2019

Codecov Report

Merging #633 into develop will increase coverage by 1.7%.
The diff coverage is n/a.

@@            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
Copy link

codecov bot commented Jul 1, 2019

Codecov Report

Merging #633 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #633   +/-   ##
========================================
  Coverage    63.14%   63.14%           
========================================
  Files           66       66           
  Lines         5904     5904           
========================================
  Hits          3728     3728           
  Misses        2176     2176

@felixdivo felixdivo added QA about improving and maintaining the quality of the library testing labels Jul 1, 2019
Copy link
Collaborator

@felixdivo felixdivo left a 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.

@texierp
Copy link
Contributor Author

texierp commented Jul 1, 2019

Sure, no problem, I can update the PR accordingly ;)

Thanks !

@texierp
Copy link
Contributor Author

texierp commented Jul 1, 2019

Updated :)

@felixdivo
Copy link
Collaborator

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
@texierp
Copy link
Contributor Author

texierp commented Jul 2, 2019

Doh, I will update ;)

@texierp
Copy link
Contributor Author

texierp commented Jul 2, 2019

Seems Ok now :)

@hardbyte hardbyte merged commit 1892dc5 into hardbyte:develop Jul 4, 2019
@felixdivo
Copy link
Collaborator

@texierp Thanks for the contribution! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

QA about improving and maintaining the quality of the library testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants