Improve performance on pre-commit -r pyflakes by 40%