diff options
author | Zuul <zuul@review.opendev.org> | 2022-07-29 09:50:49 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-07-29 09:50:49 +0000 |
commit | ade5ca70f820a102786e1581f1dc6139b5166224 (patch) | |
tree | 6f3b37eb485665d08243919b00b5f0f3df122c28 | |
parent | 12761f48faa421d2d62b38308322b90924c112e6 (diff) | |
parent | 476c5f89c7c120a28a4b0b83a0ef81e7aeb02010 (diff) | |
download | trove-ade5ca70f820a102786e1581f1dc6139b5166224.tar.gz |
Merge "Changed py39 from py27 in tox"
-rw-r--r-- | CONTRIBUTING.rst | 7 | ||||
-rwxr-xr-x | tools/start-fake-mode.sh | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 5340bca7..1ba3c894 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -258,8 +258,7 @@ following on your development system and ensure that they pass. .. code-block:: bash $ tox -e pep8 - $ tox -e py27 - $ tox -e py34 + $ tox -e py39 $ tox -e pylint 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 -To run just the tests for Python 2.7, run: +To run just the tests for Python 3.9, run: .. code-block:: bash - $ tox -epy27 + $ tox -epy39 To run just PEP8, run: diff --git a/tools/start-fake-mode.sh b/tools/start-fake-mode.sh index 250a2743..cb093b20 100755 --- a/tools/start-fake-mode.sh +++ b/tools/start-fake-mode.sh @@ -2,12 +2,12 @@ # Arguments: Use --pid_file to specify a pid file location. -if [ ! -d ".tox/py27" ]; then - tox -epy27 +if [ ! -d ".tox/py39" ]; then + tox -epy39 fi function run() { - .tox/py27/bin/python $@ + .tox/py39/bin/python $@ } run bin/trove-manage \ --config-file=etc/trove/trove.conf.test db_recreate \ |