summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2018-11-11 21:45:34 +0100
committerDaniel Hahler <git@thequod.de>2018-11-12 03:16:52 +0100
commit935b106213bc14fa45e080051f209c8c5372dd34 (patch)
tree035820778168207d75d54a9a34cc2db52f5941ff /CONTRIBUTING.rst
parent9af613bef2ca58c19966cac59a3f038de39fbe31 (diff)
downloadpytest-935b106213bc14fa45e080051f209c8c5372dd34.tar.gz
CI: use py37 instead of py36 by default
Closes https://github.com/pytest-dev/pytest/issues/4370.
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r--CONTRIBUTING.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index d3202f7c8..ea778149c 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -169,7 +169,7 @@ Short version
#. Follow **PEP-8** for naming and `black <https://github.com/ambv/black>`_ for formatting.
#. Tests are run using ``tox``::
- tox -e linting,py27,py36
+ tox -e linting,py27,py37
The test environments above are usually enough to cover most cases locally.
@@ -237,12 +237,12 @@ Here is a simple overview, with pytest-specific bits:
#. Run all the tests
- You need to have Python 2.7 and 3.6 available in your system. Now
+ You need to have Python 2.7 and 3.7 available in your system. Now
running tests is as simple as issuing this command::
- $ tox -e linting,py27,py36
+ $ tox -e linting,py27,py37
- This command will run tests via the "tox" tool against Python 2.7 and 3.6
+ This command will run tests via the "tox" tool against Python 2.7 and 3.7
and also perform "lint" coding-style checks.
#. You can now edit your local working copy and run the tests again as necessary. Please follow PEP-8 for naming.
@@ -252,9 +252,9 @@ Here is a simple overview, with pytest-specific bits:
$ tox -e py27 -- --pdb
- Or to only run tests in a particular test module on Python 3.6::
+ Or to only run tests in a particular test module on Python 3.7::
- $ tox -e py36 -- testing/test_config.py
+ $ tox -e py37 -- testing/test_config.py
When committing, ``pre-commit`` will re-format the files if necessary.