Style fixes for flake8

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>