The new flake8 version 3.6.0 introduces new warnings that cause
the check and gate jobs to fail. Locking down the flake8 version
to avoid these surprises in the future. We can later increment
the flake8 version and fix the new warnings in a controlled
manner.
Change-Id: Ia1eac379feb67b9d2efd5bb67611fd60c2bf83ef
Partial-Bug: 1799721
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>