I use tox with tox-pipenv inside the virtualenv of the project to run tests. I know that it's originally designed to be used outside the virtualenv but I admint that it's easier not to exit the virtualenv each time I run tox.
Everything is working nicely besides a warning "WARNING:test command found but not installed in testenv" but I think it's related to the issue #6 (even if this warning is appearing since the first time for me).
My problem is that it seems to change the editable option of a package in the virtualenv. Before running tox I have a pip list like this :
So I don't know why but It seems that tox-pipenv modifies the actual virtualenv and doesn't handle the editable option properly... or maybe I miss something !
After a pipenv install --dev inside the virtualenv the package is in editable option again.
Have a good day,
Matthieu.
EDIT:
Oh and this is the content of my tox.ini configuration file :
[tox]
envlist = format, lint, type, test
[testenv]
commands =
format: black --py36 --line-length 88 --skip-string-normalization gibica tests
lint: flake8 gibica tests
type: mypy gibica
test: py.test --cov=gibica
Hello, First of all, thanks for this project !
I use tox with tox-pipenv inside the virtualenv of the project to run tests. I know that it's originally designed to be used outside the virtualenv but I admint that it's easier not to exit the virtualenv each time I run tox.
Everything is working nicely besides a warning "WARNING:test command found but not installed in testenv" but I think it's related to the issue #6 (even if this warning is appearing since the first time for me). My problem is that it seems to change the editable option of a package in the virtualenv. Before running tox I have a pip list like this :
And after have run tox :
My
Pipfile
looks like this :So I don't know why but It seems that tox-pipenv modifies the actual virtualenv and doesn't handle the editable option properly... or maybe I miss something !
After a
pipenv install --dev
inside the virtualenv the package is in editable option again.Have a good day, Matthieu.
EDIT:
Oh and this is the content of my
tox.ini
configuration file :