Changed py39 from py27 in tox
Changed py39 from py27 in tox for contributing doc Change-Id: Ia079b7b7f5d96858c7dfe4b3d103c0efd86ae68b
This commit is contained in:
parent
f4783ad497
commit
476c5f89c7
@ -258,8 +258,7 @@ following on your development system and ensure that they pass.
|
|||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ tox -e pep8
|
$ tox -e pep8
|
||||||
$ tox -e py27
|
$ tox -e py39
|
||||||
$ tox -e py34
|
|
||||||
$ tox -e pylint
|
$ tox -e pylint
|
||||||
|
|
||||||
If you are unable to get these to pass locally, it is a waste of the
|
If you are unable to get these to pass locally, it is a waste of the
|
||||||
@ -294,11 +293,11 @@ To run all tests and PEP8, run tox, like so:
|
|||||||
|
|
||||||
$ tox
|
$ tox
|
||||||
|
|
||||||
To run just the tests for Python 2.7, run:
|
To run just the tests for Python 3.9, run:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ tox -epy27
|
$ tox -epy39
|
||||||
|
|
||||||
To run just PEP8, run:
|
To run just PEP8, run:
|
||||||
|
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
# Arguments: Use --pid_file to specify a pid file location.
|
# Arguments: Use --pid_file to specify a pid file location.
|
||||||
|
|
||||||
|
|
||||||
if [ ! -d ".tox/py27" ]; then
|
if [ ! -d ".tox/py39" ]; then
|
||||||
tox -epy27
|
tox -epy39
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function run() {
|
function run() {
|
||||||
.tox/py27/bin/python $@
|
.tox/py39/bin/python $@
|
||||||
}
|
}
|
||||||
run bin/trove-manage \
|
run bin/trove-manage \
|
||||||
--config-file=etc/trove/trove.conf.test db_recreate \
|
--config-file=etc/trove/trove.conf.test db_recreate \
|
||||||
|
Loading…
Reference in New Issue
Block a user