Ran tests, and black afterwards. Updated changes.rst and included pre-commit hooks as required. Ran isort on imports.
https://github.com/python/black