Deleting these "extra" lines creates pep8/pylint violations. There must be 2 blank lines between top-level methods.

We are not seeing quality and coverage metrics on your PR because it has too many violations (that's why it is marked unstable). Please clean them up and rebase.