Skip to content

Commit 13e5ef0

Browse files
Created link to PEP-8 in documentation (#11582)
1 parent 1ea10c2 commit 13e5ef0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ Miro Hrončok
275275
Nathaniel Compton
276276
Nathaniel Waisbrot
277277
Ned Batchelder
278+
Neil Martin
278279
Neven Mundar
279280
Nicholas Devenish
280281
Nicholas Murphy

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Short version
199199
#. Fork the repository.
200200
#. Fetch tags from upstream if necessary (if you cloned only main `git fetch --tags https://github.com/pytest-dev/pytest`).
201201
#. Enable and install `pre-commit <https://pre-commit.com>`_ to ensure style-guides and code checks are followed.
202-
#. Follow **PEP-8** for naming and `black <https://github.com/psf/black>`_ for formatting.
202+
#. Follow `PEP-8 <https://www.python.org/dev/peps/pep-0008/>`_ for naming.
203203
#. Tests are run using ``tox``::
204204

205205
tox -e linting,py39
@@ -282,7 +282,7 @@ Here is a simple overview, with pytest-specific bits:
282282
This command will run tests via the "tox" tool against Python 3.9
283283
and also perform "lint" coding-style checks.
284284

285-
#. You can now edit your local working copy and run the tests again as necessary. Please follow PEP-8 for naming.
285+
#. 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.
286286

287287
You can pass different options to ``tox``. For example, to run tests on Python 3.9 and pass options to pytest
288288
(e.g. enter pdb on failure) to pytest you can do::

0 commit comments

Comments
 (0)