Skip to content

refactor(semantic): simplify comparing of "pre" letters in PyPI versions#278

Merged
G-Rath merged 1 commit intomainfrom
semantic/simplify-pypi
Oct 31, 2024
Merged

refactor(semantic): simplify comparing of "pre" letters in PyPI versions#278
G-Rath merged 1 commit intomainfrom
semantic/simplify-pypi

Conversation

@G-Rath
Copy link
Owner

@G-Rath G-Rath commented Oct 31, 2024

These letters naturally compare in the right order, so we can just compare them directly which saves us a loop and an untestable panic.

@G-Rath G-Rath merged commit f72af0e into main Oct 31, 2024
@G-Rath G-Rath deleted the semantic/simplify-pypi branch October 31, 2024 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant