You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,7 +197,7 @@ Short version
197
197
#. Follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ for naming.
198
198
#. Tests are run using ``tox``::
199
199
200
-
tox -e linting,py39
200
+
tox -e linting,py313
201
201
202
202
The test environments above are usually enough to cover most cases locally.
203
203
@@ -269,24 +269,24 @@ Here is a simple overview, with pytest-specific bits:
269
269
270
270
#. Run all the tests
271
271
272
-
You need to have Python 3.9 or later available in your system. Now
272
+
You need to have a supported Python version available in your system. Now
273
273
running tests is as simple as issuing this command::
274
274
275
-
$ tox -e linting,py39
275
+
$ tox -e linting,py
276
276
277
-
This command will run tests via the "tox" tool against Python 3.9
278
-
and also perform "lint" coding-style checks.
277
+
This command will run tests via the "tox" tool against your default Python
278
+
version and also perform "lint" coding-style checks.
279
279
280
280
#. You can now edit your local working copy and run the tests again as necessary. Please follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ for naming.
281
281
282
-
You can pass different options to ``tox``. For example, to run tests on Python 3.9 and pass options to pytest
282
+
You can pass different options to ``tox``. For example, to run tests on Python 3.13 and pass options to pytest
283
283
(e.g. enter pdb on failure) to pytest you can do::
284
284
285
-
$ tox -e py39 -- --pdb
285
+
$ tox -e py313 -- --pdb
286
286
287
-
Or to only run tests in a particular test module on Python 3.9::
287
+
Or to only run tests in a particular test module on Python 3.12::
288
288
289
-
$ tox -e py39 -- testing/test_config.py
289
+
$ tox -e py312 -- testing/test_config.py
290
290
291
291
292
292
When committing, ``pre-commit`` will re-format the files if necessary.
0 commit comments