mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1902 from vlcinsky/man_tox
Man page section about `tox.ini` updated
This commit is contained in:
+1
-1
@@ -455,7 +455,7 @@ and external testing::
|
||||
pipenv run flake8 --version
|
||||
pipenv run flake8 setup.py docs project test
|
||||
|
||||
``pipenv`` will automatically use the virtualenv provided by ``tox``.
|
||||
``pipenv`` will automatically use the virtualenv provided by ``tox``. If ``pipenv install --dev`` installs e.g. ``pytest``, then installed command ``py.test`` will be present in given virtualenv and can be called directly by ``py.test tests`` instead of ``pipenv run py.test tests``.
|
||||
|
||||
You might also want to add ``--ignore-pipfile`` to ``pipenv install``, as to
|
||||
not accidentally modify the lock-file on each test run. This causes ``pipenv``
|
||||
|
||||
@@ -1284,14 +1284,12 @@ and external testing:
|
||||
envlist = flake8\-py3, py26, py27, py33, py34, py35, py36, pypy
|
||||
|
||||
[testenv]
|
||||
passenv=HOME
|
||||
deps = pipenv
|
||||
commands=
|
||||
pipenv install \-\-dev
|
||||
pipenv run py.test tests
|
||||
|
||||
[testenv:flake8\-py3]
|
||||
passenv=HOME
|
||||
basepython = python3.4
|
||||
commands=
|
||||
{[testenv]deps}
|
||||
@@ -1302,14 +1300,6 @@ commands=
|
||||
.fi
|
||||
.UNINDENT
|
||||
.UNINDENT
|
||||
.sp
|
||||
\fBNOTE:\fP
|
||||
.INDENT 0.0
|
||||
.INDENT 3.5
|
||||
With Pipenv\(aqs default configuration, you\(aqll need to use tox\(aqs \fBpassenv\fP parameter
|
||||
to pass your shell\(aqs \fBHOME\fP variable.
|
||||
.UNINDENT
|
||||
.UNINDENT
|
||||
.SS ☤ Shell Completion
|
||||
.sp
|
||||
To enable completion in fish, add this to your config:
|
||||
|
||||
Reference in New Issue
Block a user