Ran tests, and black afterwards. Updated changes.rst and included pre-commit hooks as required. Ran isort on imports.