Move the content of the .coveragerc file into setup.cfg.
Several excluded lines could be tested, typically those ones:
# Others raise NotImplementedError() raise e