mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 22:20:49 -05:00
[PR #2725] Fix README delimiter in sort.py to prevent CI README corruption #2038
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2725
Author: @mohiuddin-khan-shiam
Created: 6/29/2025
Status: 🔄 Open
Base:
master← Head:master📝 Commits (2)
48fc448Fix README delimiter in sort.py to prevent CI README corruptionb1c225fFix README delimiter in sort.py to prevent CI README corruption📊 Changes
2 files changed (+91 additions, -74 deletions)
View changed files
📝
README.md(+74 -71)📝
sort.py(+17 -3)📄 Description
Fix README delimiter in sort.py to prevent CI README corruption
Description
sort.py expected the string
"- - -"to split the README intoTable-of-Contents and body, but the markdown file actually uses the
standard horizontal rule
---.This mismatch caused the script (run in CI) to mis-process the README,
leading to corrupted documentation and potential
IndexErrors.Changes made:
---.CI now runs
python sort.pywithout errors and the README remains intact.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.