add pytest and flake8 dependencies