fix flake8 warnings

`# noqa` should not be required