set flake8 to python2 syntax checking