Skip to content

Commit 5fb8b28

Browse files
authored
Many PEPs: 'Author' must be list of 'Name <email@example.com>, ...' (#2809)
1 parent b4bed87 commit 5fb8b28

80 files changed

Lines changed: 91 additions & 870 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pre-commit-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,6 @@ repos:
129129
language: pygrep
130130
entry: '(?<=\n)Author:(?:(?!((( +|\n {1,8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+\n(?=[A-Z])))'
131131
args: [--multiline]
132-
files: '^pep-\d+\.rst$'
133-
types: [text]
134-
135-
- id: validate-author-legacy
136-
name: "Legacy 'Author' must be a list of names/emails"
137-
language: pygrep
138-
entry: '(?<=\n)Author:(?:(?!((((( +|\n {1,8})[^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+( <[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+>)?)(,|(?=\n[^ ])))+)|(((( +|\n {1,8})[\w!#$%&''*+\-/=?^_{|}~.]+(@| at )[\w\-.]+\.[A-Za-z0-9]+) \(([^!#$%&()*+,/:;<=>?@\[\\\]\^_`{|}~]+)\)(,|(?=\n[^ ])))+))\n(?=[A-Z])))'
139-
args: [--multiline]
140132
files: '^pep-\d+\.(rst|txt)$'
141133
types: [text]
142134

pep-0001.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,7 @@ if the email address is included, and just:
629629

630630
Random J. User
631631

632-
if the address is not given. For historical reasons the format
633-
``random@example.com (Random J. User)`` may appear in a PEP;
634-
however, new PEPs must use the mandated format above, and it is acceptable to
635-
change to this format when PEPs are updated.
632+
if the address is not given.
636633

637634
If there are multiple authors, each should be on a separate line
638635
following :rfc:`2822` continuation line conventions. Note that personal

pep-0003.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 3
22
Title: Guidelines for Handling Bug Reports
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: jeremy@alum.mit.edu (Jeremy Hylton)
3+
Author: Jeremy Hylton <jeremy@alum.mit.edu>
64
Status: Withdrawn
75
Type: Process
86
Content-Type: text/x-rst
@@ -69,4 +67,4 @@ Original Guidelines
6967
References
7068
==========
7169

72-
.. [1] http://bugs.python.org/
70+
* https://bugs.python.org

pep-0005.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 5
22
Title: Guidelines for Language Evolution
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: paul@prescod.net (Paul Prescod)
3+
Author: Paul Prescod <paul@prescod.net>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -75,9 +73,3 @@ Steps For Introducing Backwards-Incompatible Features
7573
the backwards incompatible version. Users will have at least a
7674
year to test their programs and migrate them from use of the
7775
deprecated construct to the alternative one.
78-
79-
..
80-
Local Variables:
81-
mode: indented-text
82-
indent-tabs-mode: nil
83-
End:

pep-0006.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 6
22
Title: Bug Fix Releases
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: aahz@pythoncraft.com (Aahz), anthony@interlink.com.au (Anthony Baxter)
3+
Author: Aahz <aahz@pythoncraft.com>, Anthony Baxter <anthony@interlink.com.au>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -217,10 +215,3 @@ Copyright
217215
=========
218216

219217
This document has been placed in the public domain.
220-
221-
222-
..
223-
Local Variables:
224-
mode: indented-text
225-
indent-tabs-mode: nil
226-
End:

pep-0010.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 10
22
Title: Voting Guidelines
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Active
75
Type: Process
86
Content-Type: text/x-rst
@@ -71,11 +69,3 @@ Copyright
7169
=========
7270

7371
This document has been placed in the public domain.
74-
75-
76-
..
77-
Local Variables:
78-
mode: indented-text
79-
indent-tabs-mode: nil
80-
fill-column: 70
81-
End:

pep-0100.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 100
22
Title: Python Unicode Integration
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: mal@lemburg.com (Marc-André Lemburg)
3+
Author: Marc-André Lemburg <mal@lemburg.com>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -1246,10 +1244,3 @@ file.]
12461244
---
12471245

12481246
* first version
1249-
1250-
1251-
..
1252-
Local Variables:
1253-
mode: indented-text
1254-
indent-tabs-mode: nil
1255-
End:

pep-0102.txt

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
PEP: 102
22
Title: Doing Python Micro Releases
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: anthony@interlink.com.au (Anthony Baxter),
6-
barry@python.org (Barry Warsaw),
7-
guido@python.org (Guido van Rossum)
3+
Author: Anthony Baxter <anthony@interlink.com.au>,
4+
Barry Warsaw <barry@python.org>,
5+
Guido van Rossum <guido@python.org>
86
Status: Superseded
97
Type: Informational
108
Content-Type: text/x-rst
@@ -512,10 +510,3 @@ Copyright
512510
=========
513511

514512
This document has been placed in the public domain.
515-
516-
517-
..
518-
Local Variables:
519-
mode: indented-text
520-
indent-tabs-mode: nil
521-
End:

pep-0201.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 201
22
Title: Lockstep Iteration
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -289,11 +287,3 @@ Copyright
289287
=========
290288

291289
This document has been placed in the public domain.
292-
293-
294-
295-
..
296-
Local Variables:
297-
mode: indented-text
298-
indent-tabs-mode: nil
299-
End:

pep-0202.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
PEP: 202
22
Title: List Comprehensions
3-
Version: $Revision$
4-
Last-Modified: $Date$
5-
Author: barry@python.org (Barry Warsaw)
3+
Author: Barry Warsaw <barry@python.org>
64
Status: Final
75
Type: Standards Track
86
Content-Type: text/x-rst
@@ -84,11 +82,3 @@ References
8482
==========
8583

8684
.. [1] http://docs.python.org/reference/expressions.html#list-displays
87-
88-
89-
90-
..
91-
Local Variables:
92-
mode: indented-text
93-
indent-tabs-mode: nil
94-
End:

0 commit comments

Comments
 (0)