``check-peps`` codifies the rules in PEP 1 and PEP 12 into a single
place containing all of the PEP-specific checks. These are primarily
header and metadata validation, and ensuring that direct links to
RFCs and PEPs aren't used.
Reviewed-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Reviewed-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
* Lint: Only ignore per-message links in Post-History with trailing slash
* PEP 684: Add trailing slash to per-message Post-History link
* Infra: Use clearer term (message, not post) for single Discourse messages
I had forgotten to update the Post-History header back in October. There was also one minor point from that round of discussion that I had not added to the PEP yet.
* Lint: Clarify name/ID of required header check
* PEP 440: Fix header ordering
* PEP 441: Fix header ordering
* PEP 523: Fix header ordering
* PEP 612: Fix spurious top-level title section heading
* Lint: Add new check for consistant PEP header order
* PEP 240: Fix issue detected by Sphinx-Lint
* PEP 357: Fix issue detected by Sphinx-Lint
* PEP 447: Fix issue detected by Sphinx-Lint
* PEP 461: Fix issue detected by Sphinx-Lint
* Lint: Autoupdate pre-commit hook versions
* Lint: Re-enable --role-with-double-backticks now that FP is fixed
Release PEPs are a pretty unusual kind of PEP and it's useful to me to have
them all listed together. Happy to adjust the name of the topic if desired.
I took the opportunity to adjust the status of a few release PEPs. Now all
releases for EOL versions are Final (3.5 was previously Active), and all
releases for released versions are Active (3.10 was still draft). 3.11 remains
Draft as 3.11 has not yet been released.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* 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
* 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
* PEP 1, 12: Update outdated references to Docutils to point to Sphinx
* PEP 1, 12: Update and simplify outdated legacy rendering workflow steps
* Readme: Fix minor issues introduced in PR #2399
* Infra: Update contents to include PEP rendering docs and avoid warnings
* Lint: Update hardcoded PEP link checker to detect new PEP URLs
* Check created date exists & matches format, and fix non-conforming
* Automatically fix mixed EoLs on checkin and in one PEP
* Add rst-directive-colons check, fix issue it found and refine regex