I think pep8 likes 2 blank lines here but I wouldn't not merge because of this.

The above code looks nicer