flake8 must ignore compat.py