Finesse code style

In general, try to follow Flake8, pylint and Black code styles.

Specific notes

__init__.py files

To avoid Flake8 flagging imports in __init__.py files, the imports intended to be available to other modules importing the package via from package import * should be explicitly listed in __all__ as strings.