Fixing pep8 issues
Ignore "deprecated form of raising exception" PEP8 warning

We do this intentionally, to preserve tracebacks
Address pylint issue from diff-cover