In this particular case, I find the recommended formatting much more difficult to read. And what I have doesn't produce any pylint/pep8 warnings.