Run flake8 only on python 2.7

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>