Fixed some more pylint errors and warnings.
Use a .coveragerc and remove redundant # pragma no cover.