python/flake8: add some backwards compat

make it match E and W for flake < 2.0