Check pyramid_closure code with flake8
Use # noqa in tests