Docstring formatting

Fix docstrings fromatting and enable the flake8 tests.

Change-Id: Ica91c03140c7e0ac66fd29e743e2a38a7e08dded