Closed dbs closed 4 years ago
Oops, pylint gave apply_headers.py a 10/10 but I forgot that we're now running with a special flake8 setup. Let me bring things into compliance...
Hmm. Those test failures in pypy and py2.7 are... weird.
Ahh. py2.7 and pypy want the encoding declarations in (for example test/test_reader.py) to be the first line. Okay, I'll make that work...
And there was much rejoicing, as the build finally passes!
Awesome work @dbs! Thanks so much for focusing on the actual problem of properly crediting the many contributors to pymarc.
This series of commits creates an apply_headers.py script that generates a LICENSE file containing the complete list of contributors from git history, with an accompanying .mailmap file that allows various git names and email addresses to be given one canonical entry. The script also applies a standard license and copyright header to each Python file directing readers to the LICENSE file for details.
The script should be run as prior to tagging each release to ensure that the list of contributors is kept up to date and that any added files get the standard header.