added flake8 to CI and exclude run_doctests.py file itself from coverage