* update version of black and also fix the mypy config being overridden
Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated.
This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.