Adds copyright checks to flake8