Flake8 fixes

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