Use newer version of flake8

We pinned a specific version of flake8 a while back, but now we should use the latest version again. Also fixes some (minor) issues the old version didn't see.

Merge request reports

Loading