HERA-Team / librarian

The HERA Librarian.
BSD 2-Clause "Simplified" License
6 stars 11 forks source link

Refactorings #82

Closed steven-murray closed 1 year ago

steven-murray commented 1 year ago

This adds black and pre-commit etc. This was a precursor to me adding some features in other branches.

The aim was obviously not to change anything whatsoever in terms of how it works, just change style. However, I am not quite as confident of this as I usually would be because there were some weird choices of where things were imported (and often things were imported and never used, at least seemingly) that made me think that it might have been necessary. At least in one case I had to move some imports back down towards the end of a file, because of circular imports. I hope the tests will check the bulk of this though.