-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Sphinx - PEP 0 generation #1 8000 932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4a52b3c
Add PEP 0 parser
AA-Turner d3771d4
Add PEP 0 writer
AA-Turner c8268fb
Add PEP 0 generator and authors override
AA-Turner 85ae140
Add/update build and run
AA-Turner 835adfc
Simplify `create_index_file`
AA-Turner 530ca9a
Special status handling
AA-Turner 2578fe2
Add constants for PEP related magic strings
AA-Turner c839d51
Prefer checking on class
AA-Turner a9b0559
Add PEP.hide_status, use constants
AA-Turner 77c5492
Remove comment from 2008 (current method works fine)
AA-Turner f6f7b65
Clarify intent of for-else loop
AA-Turner d0513e2
Hook in to Sphinx (oops, missed when splitting out this PR)
AA-Turner b8d9eff
Rename AUTHORS.csv for clarity
AA-Turner 4b0d042
Sort and strip spaces
AA-Turner a993eed
Prefer `authors_overrides` name
AA-Turner 92fe1fb
Add pep_0_errors.py
AA-Turner 3f695ab
Move author_sort_by to writer
AA-Turner 327fd1b
PEP init misc
AA-Turner 403bff3
Split out Author
AA-Turner 0d9bf61
Drop pep_0 prefix
AA-Turner dedb043
Pass title length as an argument
AA-Turner 84518a3
Add constants.py to hold global type / status values
AA-Turner 5164571
Capitalise constants
AA-Turner 29738c5
Capitalise constants
AA-Turner 918a4b9
Update PEP classification algorithm
AA-Turner 70011e0
Extract static methods to module level
AA-Turner e72bed1
Add emit_text, emit_pep_row
AA-Turner 32454c8
Use constants in writer.py
AA-Turner e42938a
Sort imports
AA-Turner d4447ab
Sort constants
AA-Turner 5ebcb9d
Fix sorting in historical and dead PEPs
AA-Turner a4a4f50
Extract static methods to module level
AA-Turner 1ec8438
Extract static methods to module level (parser.py
AA-Turner de9ab25
Make Author a NamedTuple
AA-Turner 4cb6e8c
Fix author duplication bug with NamedTuples
AA-Turner 1e62868
Revert to old PEP classification algorithm
AA-Turner 48b72c2
Define PEP equality
AA-Turner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Capitalise constants
- Loading branch information
commit 29738c543c9148a439fbc7df4570a06ee0dd4700
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
from pathlib import Path | ||
|
||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.