G-Rath / osv-detector

MIT License
61 stars 9 forks source link

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

Closed G-Rath closed 2 weeks ago

G-Rath commented 2 weeks ago

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