hashin 0.15.0 makes package comparison agnostic to underscore or hyphens
See issue #116 for a fuller story. Basically, now it doesn't matter if you write...
And the same can be said about the contents of your
requirements.txt file. Suppose it already had something like this:
python_memcached==1.59 \ --hash=sha256:4dac64916871bd35502 \ --hash=sha256:a2e28637be13ee0bf1a8
and you type
hashin python-memcached it will do the version comparison on these independent of the underscore or hyphen.
Thank @caphrim007 who implemented this for the benefit of Renovate.