| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,14 +109,14 @@ repos: | |||
| 109 | 109 | - id: check-required-headers | |
| 110 | 110 | name: "PEPs must have all required headers" | |
| 111 | 111 | language: pygrep | |
| 112 | - entry: '(?-m:^PEP:(?=[\s\S]*\nTitle:)(?=[\s\S]*\nAuthor:)(?=[\s\S]*\nStatus:)(?=[\s\S]*\nType:)(?=[\s\S]*\nContent-Type:)(?=[\s\S]*\nCreated:))' | ||
| 112 | + entry: '(?-m:^PEP:(?=[\s\S]*\nTitle:)(?=[\s\S]*\nAuthor:)(?=[\s\S]*\nStatus:)(?=[\s\S]*\nType:)(?=[\s\S]*\nCreated:))' | ||
| 113 | 113 | args: ['--negate', '--multiline'] | |
| 114 | 114 | files: '^peps/pep-\d+\.rst$' | |
| 115 | 115 | ||
| 116 | 116 | - id: check-header-order | |
| 117 | 117 | name: "PEP header order must follow PEP 12" | |
| 118 | 118 | language: pygrep | |
| 119 | - entry: '^PEP:[^\n]+\nTitle:[^\n]+\n(Version:[^\n]+\n)?(Last-Modified:[^\n]+\n)?Author:[^\n]+\n( +\S[^\n]+\n)*(Sponsor:[^\n]+\n)?((PEP|BDFL)-Delegate:[^\n]*\n)?(Discussions-To:[^\n]*\n)?Status:[^\n]+\nType:[^\n]+\n(Topic:[^\n]+\n)?Content-Type:[^\n]+\n(Requires:[^\n]+\n)?Created:[^\n]+\n(Python-Version:[^\n]*\n)?(Post-History:[^\n]*\n( +\S[^\n]*\n)*)?(Replaces:[^\n]+\n)?(Superseded-By:[^\n]+\n)?(Resolution:[^\n]*\n)?\n' | ||
| 119 | + entry: '^PEP:[^\n]+\nTitle:[^\n]+\n(Version:[^\n]+\n)?(Last-Modified:[^\n]+\n)?Author:[^\n]+\n( +\S[^\n]+\n)*(Sponsor:[^\n]+\n)?((PEP|BDFL)-Delegate:[^\n]*\n)?(Discussions-To:[^\n]*\n)?Status:[^\n]+\nType:[^\n]+\n(Topic:[^\n]+\n)?(Content-Type:[^\n]+\n)?(Requires:[^\n]+\n)?Created:[^\n]+\n(Python-Version:[^\n]*\n)?(Post-History:[^\n]*\n( +\S[^\n]*\n)*)?(Replaces:[^\n]+\n)?(Superseded-By:[^\n]+\n)?(Resolution:[^\n]*\n)?\n' | ||
| 120 | 120 | args: ['--negate', '--multiline'] | |
| 121 | 121 | files: '^peps/pep-\d+\.rst$' | |
| 122 | 122 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,6 @@ Title: PEP Purpose and Guidelines | |||
| 3 | 3 | Author: Barry Warsaw, Jeremy Hylton, David Goodger, Nick Coghlan | |
| 4 | 4 | Status: Active | |
| 5 | 5 | Type: Process | |
| 6 | - Content-Type: text/x-rst | ||
| 7 | 6 | Created: 13-Jun-2000 | |
| 8 | 7 | Post-History: 21-Mar-2001, 29-Jul-2002, 03-May-2003, 05-May-2012, | |
| 9 | 8 | 07-Apr-2013 | |
@@ -610,7 +609,6 @@ optional and are described below. All other headers are required. | |||
| 610 | 609 | Withdrawn | Final | Superseded> | |
| 611 | 610 | Type: <Standards Track | Informational | Process> | |
| 612 | 611 | * Topic: <Governance | Packaging | Release | Typing> | |
| 613 | - * Content-Type: text/x-rst | ||
| 614 | 612 | * Requires: <pep numbers> | |
| 615 | 613 | Created: <date created on, in dd-mmm-yyyy format> | |
| 616 | 614 | * Python-Version: <version number> | |
@@ -649,7 +647,7 @@ out. | |||
| 649 | 647 | The PEP-Delegate field is used to record the individual appointed by the | |
| 650 | 648 | Steering Council to make the final decision on whether or not to approve or | |
| 651 | 649 | reject a PEP. (The delegate's email address is currently omitted due to a | |
| 652 | - limitation in the email address masking for reStructuredText PEPs) | ||
| 650 | + limitation in the email address masking for reStructuredText PEPs.) | ||
| 653 | 651 | ||
| 654 | 652 | *Note: The Resolution header is required for Standards Track PEPs | |
| 655 | 653 | only. It contains a URL that should point to an email message or | |
@@ -668,11 +666,6 @@ The optional Topic header lists the special topic, if any, | |||
| 668 | 666 | the PEP belongs under. | |
| 669 | 667 | See the :ref:`topic-index` for the existing topics. | |
| 670 | 668 | ||
| 671 | - The format of a PEP is specified with a Content-Type header. | ||
| 672 | - All PEPs must use reStructuredText (see :pep:`12`), | ||
| 673 | - and have a value of ``text/x-rst``, the default. | ||
| 674 | - Previously, plaintext PEPs used ``text/plain`` (see :pep:`9`). | ||
| 675 | - | ||
| 676 | 669 | The Created header records the date that the PEP was assigned a | |
| 677 | 670 | number, while Post-History is used to record the dates of and corresponding | |
| 678 | 671 | URLs to the Discussions-To threads for the PEP, with the former as the | |
@@ -878,13 +871,3 @@ Copyright | |||
| 878 | 871 | ||
| 879 | 872 | This document is placed in the public domain or under the | |
| 880 | 873 | CC0-1.0-Universal license, whichever is more permissive. | |
| 881 | - | ||
| 882 | - | ||
| 883 | - .. | ||
| 884 | - Local Variables: | ||
| 885 | - mode: indented-text | ||
| 886 | - indent-tabs-mode: nil | ||
| 887 | - sentence-end-double-space: t | ||
| 888 | - fill-column: 70 | ||
| 889 | - coding: utf-8 | ||
| 890 | - End: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,6 @@ Author: David Goodger <goodger@python.org>, | |||
| 5 | 5 | Brett Cannon <brett@python.org> | |
| 6 | 6 | Status: Active | |
| 7 | 7 | Type: Process | |
| 8 | - Content-Type: text/x-rst | ||
| 9 | 8 | Created: 05-Aug-2002 | |
| 10 | 9 | Post-History: `30-Aug-2002 <https://mail.python.org/archives/list/python-dev@python.org/thread/KX3AS7QAY26QH3WIUAEOCCNXQ4V2TGGV/>`__ | |
| 11 | 10 | ||
@@ -174,7 +173,6 @@ your PEP): | |||
| 174 | 173 | Status: Draft | |
| 175 | 174 | Type: [Standards Track | Informational | Process] | |
| 176 | 175 | Topic: *[Governance | Packaging | Release | Typing] | |
| 177 | - Content-Type: text/x-rst | ||
| 178 | 176 | Requires: *[NNN] | |
| 179 | 177 | Created: [DD-MMM-YYYY] | |
| 180 | 178 | Python-Version: *[M.N] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,6 @@ Discussions-To: <REQUIRED: URL of current canonical discussion thread> | |||
| 7 | 7 | Status: <REQUIRED: Draft | Active | Accepted | Provisional | Deferred | Rejected | Withdrawn | Final | Superseded> | |
| 8 | 8 | Type: <REQUIRED: Standards Track | Informational | Process> | |
| 9 | 9 | Topic: <Governance | Packaging | Release | Typing> | |
| 10 | - Content-Type: text/x-rst | ||
| 11 | 10 | Requires: <pep numbers> | |
| 12 | 11 | Created: <date created on, in dd-mmm-yyyy format> | |
| 13 | 12 | Python-Version: <version number> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments