Try to make pre-commit pass
Checks like this can only be useful if we expect them to pass - checks that always fail are a waste of time and electricity.
I've applied the isort
changes, because these are relatively small and simple. The other checks that are failing on MR !499 (merged) I have just removed, because fixing across the repo required massive changes. We can easily add them back if we decide to, for instance, make every notebook PEP 8 compliant.