Move tox to pytest#197
Conversation
|
@alejandrosame the tests are failing. |
|
@chinmayshah99 If you check the log, the error is related to the current bug we have with bounds. If you want, I can already deactivate the tests for bounded methods in this PR since it is more or less a related issue (having consistent tests ASAP). Regarding conda, they have not been tested using conda. As the changes show, pipenv was added to Github actions for consistency with Docker and host execution. I think validating conda support should be a separate issue/PR (it will require also more documentation updates, new github actions, etc). |
|
Validating with conda is a must, since a lot of our folks use conda.
Regards
Chinmay Shah
…On Mon, Jul 13, 2020, 16:37 Alejandro Sánchez Medina < ***@***.***> wrote:
@chinmayshah99 <https://github.com/chinmayshah99> If you check the log,
the error is related to the current bug we have with bounds. If you want, I
can already deactivate the tests for bounded methods in this PR if you want
since it is more or less related.
Regarding conda, they have not been tested using conda. As the changes
show, pipenv was added to Github actions for consistency with Docker and
host execution. I think validating conda support should be a separate
issue/PR (it will require also more documentation updates, new github
actions, etc).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#197 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACTTOFJ6RU4EJ3CY3HHRPTLR3LTGXANCNFSM4OYAJKHQ>
.
|
| @@ -13,7 +13,7 @@ replace = __version__ = "{new_version}" | |||
|
|
|||
| [pycodestyle] | |||
There was a problem hiding this comment.
Is this needed now that we have removed pycodestyle?
There was a problem hiding this comment.
Indeed it is not needed since we introduced Black. I'll delete the section.
|
Error when running Though I can add these environment variables, this error is not desirable. |
I added an ENV file so Pipenv automatically loads those variables inside the virtualenv. That should fix the issue. Can you please confirm that it fixes the execution of |
This works well! Just to confirm, there is no-inplace editing right? The code does not automatically re-format the correct code even though it suggests what needs to be done. Can we add that if it's possible? |
I wouldn't overload Apart from that, for those that can't arrange the editor (or wouldn't care because, for example, they just want to quickly make a one time contribution) we could provide new formatting actions. That way, What do you think? |
Yeah, we can add that! Also can we also add |
Done on the last 2 commits. |
chinmayshah99
left a comment
There was a problem hiding this comment.
LGTM! Need to confirm if all tests run perfectly :)
Description
Fixes #137 and #192. Apart from substituting tox with pytest testing, Makefile and Github workflow files have been aligned for consitency. Since right now, we lack meaningful Python code, coverage dependency and code has been deleted also for simplicity.
Affected Dependencies
Tox deleted. Coverage deleted.
How has this been tested?
make test.Checklist