Skip to content
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

Add pep next command to find the next available number #48

Merged
merged 6 commits into from
Oct 10, 2023
Merged

Conversation

hugovk
Copy link
Owner

@hugovk hugovk commented Oct 1, 2023

It checks the published PEPs at https://peps.python.org/api/peps.json, and open PRs beginning "PEP xxx: " at https://github.com/python/peps/pulls, combines them, then goes through them to find the first available number.

And we start at 400, because there's some unassigned numbers below this:

  • 14 -> 19
  • 21 -> 41
  • 43 -> 99
  • 104 -> 159
  • 161 -> 199
  • 300
  • 388

For example:

pep next
Next available PEP: 730

@hugovk hugovk added the changelog: Added For new features label Oct 1, 2023
@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

Merging #48 (ff9f5bc) into main (3ba404a) will increase coverage by 3.07%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main       #48      +/-   ##
===========================================
+ Coverage   96.92%   100.00%   +3.07%     
===========================================
  Files           4         4              
  Lines         195       230      +35     
===========================================
+ Hits          189       230      +41     
+ Misses          6         0       -6     
Flag Coverage Δ
macos-latest 100.00% <100.00%> (+3.07%) ⬆️
ubuntu-latest 100.00% <100.00%> (+3.07%) ⬆️
windows-latest 100.00% <100.00%> (+3.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/pepotron/__init__.py 100.00% <100.00%> (+5.55%) ⬆️
tests/test_pepotron.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hugovk hugovk added changelog: Added For new features and removed changelog: Added For new features labels Oct 9, 2023
@hugovk hugovk merged commit eb1cf0f into main Oct 10, 2023
45 of 46 checks passed
@hugovk hugovk deleted the pep-next branch October 10, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: Added For new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant