diff options
author | ljhuang <huang.liujie@99cloud.net> | 2022-07-28 11:32:24 +0800 |
---|---|---|
committer | ljhuang <huang.liujie@99cloud.net> | 2022-07-29 10:26:28 +0800 |
commit | 476c5f89c7c120a28a4b0b83a0ef81e7aeb02010 (patch) | |
tree | 2b67d4d271f6a115ae667e0ee3cdf4abde04b5cb | |
parent | f4783ad4973481ae7136f19716ebbb8a6eba286c (diff) | |
download | trove-476c5f89c7c120a28a4b0b83a0ef81e7aeb02010.tar.gz |
Changed py39 from py27 in tox
Changed py39 from py27 in tox for contributing doc
Change-Id: Ia079b7b7f5d96858c7dfe4b3d103c0efd86ae68b
-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 \ |