Create pre-commit file containing flake8 precommit hook