Commit Graph

31 Commits

Author SHA1 Message Date
Hugo van Kemenade 7fa80c34d7
Infra + many PEPs: Add Sphinx Lint and fix errors (#2816)
* PEP 555, 653: Fix inline literal missing (escaped) space after literal

* Add newline at end of file

* PEP 692: Add newline at end of file

* PEP 633: Fix missing space before role

* Run sphinx-lint in pre-commit

* PEP 639: Remove rogue backticks

* PEP 372: Remove rogue backticks

* PEP 462: Add missing underscore after closing backtick in hyperlink

* PEP 481: Add missing underscore after closing backtick in hyperlinks

* PEP 507: Add missing underscore after closing backtick in hyperlinks

* PEP 453: Add missing underscore after closing backtick in hyperlinks, and convert to links

* PEP 534: Fix inline literal missing (escaped) space after literal

* PEP 372, 453, 462: Redirect BPO to GH
2022-10-06 12:14:32 -07:00
CAM Gerlach a6336e9d74
Lint: Update headers and checks per current guidance & provide helpful feedback (#2484)
* Lint: Disable a couple potentially problematic/unneeded hooks

* Lint: Refine regex for existing Content-Type and PEP references checks

* Lint: Refine regex for Python-Version check and fix a couple deviations

* Lint: Refine regex for Created check and fix a couple deviations

* Lint: Refine regex for Resolution check and fix a few deviations

* Lint: Add new check for Post-History header

* Lint: Add check for Discussions-To header link

* Lint: Add basic check for PEP title presense & excessive length

* Lint: Add check for PEP/BDFL-Delegate header

* Lint: Add check for Sponsor header

* Lint: Add check for legacy Author field format

* Lint: Add check for RST Author field

* Lint: Use more helpful, user-oriented descriptions for header checks

* PEP 245: Add historical note and archive links to wiki page/email lsit

* PEP 628: Add direct link to resolution in acceptance message

* Lint: Explictly allow all valid RFC 2822 line continuations in headers

* Lint: Tweak Post-History and Resolution checks to accept fragments
2022-04-20 04:53:08 -05:00
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Dimitri Papadopoulos Orfanos 57d9baf04d
Typos found by codespell (#2073)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-09-17 11:18:24 -07:00
Mariatta cf3bad5ab3
Revert "Rename all .txt PEP files to .rst (GH-462)" (GH-464)
This reverts commit bb0e518ed3.
2017-11-11 11:28:55 -08:00
Huang Huang bb0e518ed3 Rename all .txt PEP files to .rst (GH-462)
For https://github.com/python/peps/issues/1
2017-11-11 10:30:43 -08:00
Serhiy Storchaka a53392a0f0 Remove trailing spaces. (#232)
Changes made automatically by the following command:
```
egrep -l ' +$' *.txt | xargs sed -i -re 's/ +$//'
```
2017-03-24 23:11:33 +02:00
Serhiy Storchaka cc1c734886 Issue #26921: Fixed a/an articles. 2016-05-03 13:52:22 +03:00
Georg Brandl af90430776 Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914 2016-05-03 10:18:02 +02:00
Andrew M. Kuchling 13217b06bf Grammar fix 2009-11-08 16:31:00 +00:00
Raymond Hettinger d7bca7c8f9 Mark PEP372 as final. 2009-03-02 21:32:04 +00:00
Raymond Hettinger 2f8c3940bc Mark the PEP as Accepted.
Replace the odict references with OrderedDict.
Specify the __repr__() format.
Update the __eq__() specification as discussed on python-dev.
2009-03-02 20:40:36 +00:00
Raymond Hettinger 2ad2a3eae6 Add link to a working patch. 2009-03-01 10:34:54 +00:00
Raymond Hettinger d1f883f6a1 More small edits. 2009-02-27 22:01:24 +00:00
Raymond Hettinger f3ed9e8e1d Fix markup. 2009-02-27 21:36:22 +00:00
Raymond Hettinger 413f573f69 Update notes on integration with ConfigParser and json. 2009-02-27 21:23:56 +00:00
Raymond Hettinger cdabe86aab Note performance trade-offs of various design strategies. 2009-02-27 05:04:47 +00:00
Raymond Hettinger faf8e74815 Indent code fragments. 2009-02-27 04:33:19 +00:00
Raymond Hettinger 4715116df7 Update PEP based on latest version of recipe, based on integration testing, and based on newsgroup feedback. 2009-02-27 04:32:11 +00:00
Raymond Hettinger 879ca8008b Update performance data based on latest recipe. 2009-02-26 15:10:24 +00:00
Raymond Hettinger 2489667c4c Join this PEP (with Armin's blessing) and move it forward
from where it's been sitting for a while.  Update the text
for Py2.7 and Py3.1.  Link to a new implementation that
sticks with the basic dict API and no new methods.
2009-02-26 12:38:29 +00:00
Georg Brandl 2401dd2c7b Rewrap to 70 chars per line. 2008-06-19 20:51:39 +00:00
Armin Ronacher cc4edbbe38 Fixed rst syntax error in pep 372 2008-06-19 11:40:35 +00:00
Armin Ronacher 9920f48254 Updated PEP 372 for Python 3 2008-06-19 10:41:47 +00:00
Armin Ronacher 3bb6dabe2f PEP 0372: `__reverse__` -> `__reversed__` 2008-06-17 09:23:26 +00:00
Armin Ronacher 815abaa790 PEP 0372: added notice on comparing 2008-06-17 09:13:43 +00:00
David Goodger 37739ca138 markup: removed blank lines to make a definition list 2008-06-16 20:41:12 +00:00
Georg Brandl 64bf26edce Further fixes. 2008-06-16 12:21:12 +00:00
Georg Brandl aea5f35bdc Fix PEP title. 2008-06-16 12:11:23 +00:00
Georg Brandl 91358c346a Updates and fixes from Armin. 2008-06-16 10:15:48 +00:00
Georg Brandl 60cae8daed Add PEP 372, Adding an ordered directory to collections. 2008-06-16 06:08:08 +00:00