banesullivan / scooby

🐶 🕵️ Great Dane turned Python environment detective
MIT License
47 stars 12 forks source link

Add non-numeric version checking #49

Closed akaszynski closed 4 years ago

akaszynski commented 4 years ago

Ran into an issue whereby I couldn't compare a development version. For example:

assert scooby.meets_version('0.28.0dev0', '0.25.2')

This PR no automatically converts any non-numeric value to a 0 for the purpose of comparison.