Skip to content

Commit 8542162

Browse files
authored
Correct links to PEPs (#656)
1 parent c4b72ae commit 8542162

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

content/contributing/process/contents.lr

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ Additional guidelines:
127127
- Use InitialCaps for class names (or for factory functions that return
128128
classes)
129129

130-
- Use Sphinx-style docstrings and `257`; type annotation with `484` is
130+
- Use Sphinx-style docstrings and [PEP 257](https://peps.python.org/pep-0257/);
131+
type annotation with [PEP 484](https://peps.python.org/pep-0484/) is
131132
optional but encouraged.
132133

133134
For example:
@@ -153,8 +154,8 @@ Additional guidelines:
153154
def test_foo():
154155
"""A test docstring looks like this (#123456)."""
155156

156-
- Unless otherwise specified, follow `8` (with careful attention paid to
157-
[Section
157+
- Unless otherwise specified, follow [PEP 8](https://peps.python.org/pep-0008/)
158+
(with careful attention paid to [Section
158159
2](https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds)).
159160

160161
---

0 commit comments

Comments
 (0)