The MD5 hash algorithm has been deprecated industry-wide for many years
now and we should stop using it. As a replacement, add SHA3 and BLAKE2b.
We keep the MD5 hash for now but with a TODO to remove entirely it in a
future release.
More specifically, the use of `is` here appears to be a bug, since that
operator tests for operator identity. The correct operator to use is
`==`, but in this context using `.startswith()` better expresses what
we're actually checking.
This reverts the code changes from
2019-09-05T02:46:59Z!mikeonthecomputer@gmail.com. Keeps the "v" from
appearing in file names, while still being a bit nice to see on the
title screen.
Python 2 is very near end-of-life, and Python3-compatible changes to a
few scripts introduced compatibility problems with 2.7 again. It went
unnoticed for me since my system symlinks "python" to "python3", but
it broke the build on systems where that symlink is still python2. At
this point in time, I feel it is worth targetting modern Python and
forgetting about 2.7.
Using the black code reformatter, pass it over all our Python files.
This allows for a consistent style across the code base.
Exception: lumps/dmxgus/stats.py, for readability.
The tags are shorthand for the license of each file and avoid
copying the full license text into each one (and avoids having
to manually update the dates in each one...).