Run flake8 only with python 2.7