Added pre-commit config to run flake8 checks on commit/push.